lzap / snap-guest

Bash script for quick provisioning of copy-on-write KVM guests
40 stars 19 forks source link

Detect debian based systems to modify hostname configuration correctly #6

Closed morazi closed 11 years ago

morazi commented 11 years ago

The mac id muxing was not required on the version of Ubuntu I tested against (11.10). It seemed to take the value poked down from virt-install.

lzap commented 11 years ago

So I guess in Debian you do not need to have MAC address when you have only one interface right? No NetworkManager I guess :-) Nice.

Thanks for the patch, merging.

morazi commented 11 years ago

Yea, I'm not sure if there is some virt-install magic happening or not w/r/t the MAC address. http://manpages.ubuntu.com/manpages/dapper/man5/iftab.5.html is where I suspect we'd want to change it to persist over time but it appears that at least in my install there is nothing actually in there, which makes it create from scratch on boot. I believe that is why the virt-install value is take w/o the need to update anything. Happy days!