Thanks all for the suggestions, seems to be working now. What is the preferred way to make a clean/sane dataset out of this? The MAC addresses in /etc/sysconfig/network-scripts/* were mangled up, had to manually update them.
Seems like the “be” interface isn’t coming up. Does the UUID need to be anything specific in those files? For eth0, the IP seems to be working, routes are setup. But the hostname isn’t getting picked up. 'mdata-get hostname’ isn’t reporting the hostname I had configured in the GZ. Almost getting there. Thanks more tips. ;-) I know how to manually fix this, I just need steps to make it work well with automatically and pull this information properly from the GZ. > On Feb 11, 2015, at 4:59 PM, Nicholas Lee <[email protected]> wrote: > > Ubuntu have had this "issue" with vms for a long time: > > http://stateless.geek.nz/2007/02/01/ubuntu-and-vmware-losing-your-ethernet-device-when-migrating/ > > <http://stateless.geek.nz/2007/02/01/ubuntu-and-vmware-losing-your-ethernet-device-when-migrating/> > > Just delete /etc/udev/rules.d/70-persistent-net.rules. It is auto generated > on the next boot. > > Nicholas > > On 12 February 2015 at 13:38, Ian Collins via smartos-discuss > <[email protected] > <mailto:[email protected]>> wrote: > Anil Jangity via smartos-discuss wrote: > I am creating a new OEL KVM dataset. I was able to bring it up but the > networking isn’t working. > I end up getting eth2 and eth3. eth0 and eth0 are missing. > > Looking at 70-persistent-net.rules file, I do see 4 interfaces/4 MAC > addresses. However log’s show: > > net eth0: ‘eth0’ renaming to ‘eth3’ > net eth0: ‘eth1’ renaming to ‘eth2’ > > I think I have a standard config: > > "nics": [ > { > "nic_tag": "admin", > "model": "virtio", > "ip": “x.x.x.x", > "netmask": "255.255.255.224", > "gateway": “x.x.x.x", > "primary": true > }, > { > "nic_tag": "be", > "model": "virtio", > "ip": “y.y.y.y", > "netmask": "255.0.0.0" > } > ], > > I am not too familiar with Linux, any ideas? Strangely, the base KVM I > installed worked fine (the one this image is based on — where I installed > using ISO). > > Thanks for any tips. > > Red hat or centos VMs are a pain in the arse for shifting network interfaces. > This might help: > > http://www.cyberciti.biz/tips/vmware-linux-lost-eth0-after-cloning-image.html > <http://www.cyberciti.biz/tips/vmware-linux-lost-eth0-after-cloning-image.html> > > -- > Ian. > > > > > ------------------------------------------- > smartos-discuss > Archives: https://www.listbox.com/member/archive/184463/=now > <https://www.listbox.com/member/archive/184463/=now> > RSS Feed: https://www.listbox.com/member/archive/rss/184463/25241303-ebebecbc > <https://www.listbox.com/member/archive/rss/184463/25241303-ebebecbc> > Modify Your Subscription: https://www.listbox.com/member/?& > <https://www.listbox.com/member/?&> > Powered by Listbox: http://www.listbox.com <http://www.listbox.com/> > ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
