Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.
This repository was 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

@GurjinderSingh

Description

@GurjinderSingh

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. 😵

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions