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

docs: fix hostname matching with --init-hooks #1215

Closed
wants to merge 1 commit into from

Conversation

robinhellmers
Copy link

The change #1182 had the intention to evaluate 'uname -n' while calling 'distrobox-create'. But had the quotation marks wrong. Double quotation marks must be the outer ones for the evaluation to occur directly.

When changing /etc/hostname, hostname does not change without a reboot. To avoid forcing the user to reboot the container after creating and entering the container, add 'hostname $(uname -n)' to be called with the --init-hooks flag.

See related issue #1164

The change #1182 had the intention to evaluate 'uname -n' while
calling 'distrobox-create'. But had the quotation marks wrong.
Double quotation marks must be the outer ones for the evaluation
to occur directly.

When changing /etc/hostname, hostname does not change without a
reboot. To avoid forcing the user to reboot the container after
creating and entering the container, add 'hostname $(uname -n)'
to be called with the --init-hooks flag.

See related issue #1164
@89luca89
Copy link
Owner

Hi @robinhellmers thanks for the PR but this has been obsoleted by #1214 and now we have a dedicated flag to set hostnames

Thanks anyway for the work!

@89luca89 89luca89 closed this Feb 18, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants