Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Restart Required Cloud-config while using sh ros config set rancher.ssh.port #3047

Open
GurjinderSingh opened this issue Feb 5, 2021 · 0 comments

Comments

@GurjinderSingh
Copy link

RancherOS Version: (ros os version)

Operating System: RancherOS v1.5.6

Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)

DigitalOcean

I want to change ssh port of the newly created droplet from the account and node template. We have two main methods to do it.

  1. #cloud-config

#cloud-config
rancher:
ssh:
port: 6969

This method working fine on the web browser while manually creating a droplet. I was failed to supply it in NodeTemplate, please guide me if possible.

  1. /bin/sh cmd

#!/bin/sh
ros config set rancher.ssh.port 6969

The second method does change the port from Nodetemplate and web browser but manually restarts required. There were some similar issues in the past but I think this new.

  1. /bin/sh cmd

#!/bin/sh
ros config set rancher.ssh.port 6969
sudo reboot
adding reboot screw up everthing.

please help me find some solution. I have created almost 50 droplets to test all different scenarios. 😵

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant