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

ssh IPs conflicts for libvirt when instances are run from the same box Ubuntu 17 at the same time #40

Open
AlexeyAlexey opened this issue Aug 6, 2018 · 0 comments

Comments

@AlexeyAlexey
Copy link

AlexeyAlexey commented Aug 6, 2018

ssh IPs conflicts for libvirt when instances are run from the same box Ubuntu 17 at the same time (packer build -only=qemu ubuntu-17.10-amd64.json ; vagrant box add --name name box_name.box)

NetPlan is a new network configuration tool introduced in Ubuntu 17.10 to manage networks.

The MAC address of the interface of the virtual machine is used to manage network. (https://github.com/vagrant-libvirt/vagrant-libvirt#management-network. Last paragraph)

It can be fixed by the following scripts

https://github.com/AlexeyAlexey/packer-templates/blob/master/scripts/ubuntu/upgrade.sh (it is important)

https://github.com/AlexeyAlexey/packer-templates/blob/master/scripts/ubuntu/networking.sh

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

1 participant