=== You're now known as ubuntulog2 | ||
nosleep77 | hi guys, i'm trying to find a way to create a 2nd eth file (for ex ifcfg-eth1) if the instance has 2 nics. is there a way to automate this? | 18:55 |
---|---|---|
natorious | hi nosleep77. Is it "ln -s /etc/init.d/net.lo /etc/init.d/net.eth2" ? | 19:24 |
natorious | thats what it is on gentoo anyways | 19:24 |
nosleep77 | natorious: no its centos 6.6 | 19:28 |
natorious | thats gonna be in /etc/sysconfig/network-scripts then. Is it for static or dhcp networking? | 19:31 |
natorious | if this is specific to a cloud env too, you could remove the hwaddr and attr lines from your /etc/sysconfig/network-scripts/ifcfg-ehtx and /etc/udev/rules.d/70-persistent-net.rules file after getting both interfaces working then take snaps in that cloud env to use | 19:35 |
natorious | oh, looks like you can pass the network config via cloud-config to set that up for you too | 19:41 |
natorious | though the datasource would need to support it to call apply_network. Looks like OpenNebula, NoCloud and ConfigDrive support it | 19:47 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!