[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#907744: Cannot assign static IP on a vagrant libvirt debian/stretch64 9.5.0 box



Package: cloud.debian.org
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello,

On a vagrant libvirt image debian/stretch64 9.5.0, it isn't possible
to assign static IPs with the vagrant-libvirt plugin. This was possible
before.

To reproduce, install vagrant-libvirt package, and try with:

```
Vagrant.configure("2") do |config|
  config.vm.box = "debian/stretch64"
  config.vm.provider "libvirt"
  config.vm.network "private_network", ip: "192.168.50.3"
  config.vm.hostname = "test"
end
```

- From comments in https://github.com/vagrant-libvirt/vagrant-libvirt/issues/867,
it seems that it is because debian/stretch64 uses systemd-networkd instead of
the usual /etc/network/interfaces.


Cheers,


- -- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEELLKv6mdE0z94m2FAIj8VylqvDngFAluKWcYACgkQIj8Vylqv
DngjRwgAxlMHIpMB5ItsggGs/kUS7eFMBnrC1dsY9GInri4kZE/s776oIJIoplE6
YDyGCSfTOyqAbp/DvibB+caVfp6v141qG+A+7+innJLLynMtJWtpCehbvfNd+rzb
WyL5dcvGJ/kTu8hV6b9sWPYX2q69aZCdp7xHvbLNi9LciyXXHaHue2DbBGBS+m6I
nmojdkLZCli3724FpFBl6sOPly39gouLNyrbP4SHukTMVjD0ERlhrMwRUAqEyiYG
fPqC6OQwLFW2vrQ1jHYl6HsGLpA62OJSfwhL7U6xb4h8rP/TQ5JnnBX/fWmmTIll
qulRXe+Bq22298hPRICzzd9tCrCCzg==
=fJUf
-----END PGP SIGNATURE-----


Reply to: