This repository has been archived by the owner on Nov 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 181
Cannot change hostname on Debian host #481
Labels
Comments
wmfgerrit
pushed a commit
to wikimedia/mediawiki-vagrant
that referenced
this issue
Oct 27, 2019
Vagrant >=2.2.4 errors out while trying to set the hostname of an LXC container (<fgrehm/vagrant-lxc#481>). This combination will soon be common in Cloud VPS instances running Debian Buster, so work around the bug by pushing hostname setting into our Puppet code and avoid the Vagrant built-in management for it. Bug: T236455 Change-Id: Ib1a8fe41a8c858a8a12ecf939fb6c7e55f07704d
@kiemlicz Thanks for investigating and documenting this error here. As a workaround we can use the shell privisioner for setting the hostname:
|
crasu
pushed a commit
to crasu/magma
that referenced
this issue
Aug 16, 2022
The reason the reload failing is that some magma network devices do not fully come up (e.g. do not get an ip even if set to auto). This triggers this systemd/vagrant issue: systemd/systemd#4733 fgrehm/vagrant-lxc#481 Signed-off-by: Christian Krämer <[email protected]>
crasu
pushed a commit
to crasu/magma
that referenced
this issue
Aug 16, 2022
… would fail. The reason the reload failing is that some magma network devices do not fully come up (e.g. do not get an ip even if set to auto). This triggers this systemd/vagrant issue: systemd/systemd#4733 fgrehm/vagrant-lxc#481 Signed-off-by: Christian Krämer <[email protected]>
crasu
pushed a commit
to magma/magma
that referenced
this issue
Aug 17, 2022
… would fail. (#13622) The reason the reload failing is that some magma network devices do not fully come up (e.g. do not get an ip even if set to auto). This triggers this systemd/vagrant issue: systemd/systemd#4733 fgrehm/vagrant-lxc#481 Signed-off-by: Christian Krämer <[email protected]>
voisey
pushed a commit
to voisey/magma
that referenced
this issue
Aug 18, 2022
… would fail. The reason the reload failing is that some magma network devices do not fully come up (e.g. do not get an ip even if set to auto). This triggers this systemd/vagrant issue: systemd/systemd#4733 fgrehm/vagrant-lxc#481 Signed-off-by: Christian Krämer <[email protected]>
3 tasks
Hey, sorry for the silence here but this project is looking for maintainers 😅 As per #499, I've added the |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Given following
Vagrantfile
:I'm unable to
vagrant up
The result:
Going into the container I can find some relevant information in journal:
I think the:
Apr 12 22:32:54 kitchen systemd[1]: Starting of sys-subsystem-net-devices-eth0.device not supported.
is the root cause.I remember vagrant-lxc working ok on Debian 9.8
The
vagrant up --debug
log (cut to the 'setting hostname' part):How do I get this working?
EDIT: After some investigation I found that in the Vagrant itself, the hostname change (
change_host_name.rb
) logic has changed to something that apparently doesn't work under LXCEDIT2: vagrant 2.1.5 works, vagrant 2.2.4 does not.
The text was updated successfully, but these errors were encountered: