Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--hostname only works if --userdata already contains a hostname section #159

Open
tommack opened this issue Nov 27, 2019 · 2 comments
Open

Comments

@tommack
Copy link

tommack commented Nov 27, 2019

At the very least a warning would be helpful if --hostname is used but there is nothing to replace.

@rafaeleyng
Copy link

Could you elaborate? I had what seems to be the exact opposite problem. I've tried to set the hostname via --userdata to no avail. But --hostname worked just fine.

@killerwhile
Copy link

A bit more details: in image such as ubuntu 20.04, which doesn't include user-data file by default, if no user-data file is provided or the one provided doesn't include a hostname: xxx section, the parameter --hostname doesn't do anything.
flash is testing the presence of user-data file and replace an existing hostname: xxx directive to what is provided.

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

No branches or pull requests

3 participants