[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [OSSTEST PATCH v2 16/19] Set mac address in interfaces(5) if force-mac-address is set
Wei Liu writes ("[OSSTEST PATCH v2 16/19] Set mac address in interfaces(5) if force-mac-address is set"): > ff9e0d8cbd generated a udev rule for setting the mac address. But that > udev rule is not copied into the target so reboot after installation > will fail. > > We can copy the udev rule to target system so the reboot after > installation works, but then the generated udev rules will end up in > initramfs, which means the guest (which uses host's initrd) will use > the same rune to set conflicting mac address. > > Put the mac address in interfaces(5). We still need to keep the udev > rule for the initrd overlay otherwise host installation will fail. ... > +sed -i 's/\\(iface\\s*$wantphysif\\s*inet.*\\)/\\1\\n hwaddress > $ho->{Ether}/' /target/etc/network/interfaces > +END Lovely! Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |