CoreOS is a little different. You put this information in the cloud-config.yaml file
#cloud-config
coreos:
units:
- name: 00-eno3.network
runtime: true
content: |
[Match]
Name=eno3
[Network]
DNS=8.8.8.8
Address=10.0.0.3/24
Gateway=10.0.0.1
ssh_authorized_keys:
- "ssh-rsa xxxxx imported-openssh-key"
Now both IPs are assigned at bootup. CoreOS auto-magically finds the DHCP server on the second NIC and uses the static IP on the eno3 NIC
No comments:
Post a Comment