Actions
Bug #8708
closedstaypuft default kickstart template: CentOS 7 host is left without default route after provisioning
Status:
Rejected
Priority:
High
Assignee:
-
Category:
Templates
Target version:
-
Description
Using staypuft Openstack Deployment the provisioned CentOS 7 host (to be openstack controller) ends up with no default route configured, so no internet access -> the after-install configuration by puppet/staypuft fails.
from install.post.log on the provisioned el7 host:
found provisioning interface = eth0
found interface with default gateway = eth0
setting DEFROUTE=yes on eth0
setting PEERDNS=no on eth1
found provisioning interface = eth0
setting DEFROUTE=no on eth0
- cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
HWADDR="mac1"
BOOTPROTO="dhcp"
ONBOOT=yes
DEFROUTE=no
- cat /etc/sysconfig/network-scripts/ifcfg-eth1
BOOTPROTO="dhcp"
DEVICE="eth1"
HWADDR="mac2"
ONBOOT=yes
PEERROUTES=no
NM_CONTROLLED=no
DEFROUTE=no
PEERDNS=no
-> The provisioned CentOS 7 host is left with no default route, so it doesn't have internet access, and installing extra packages by puppet/staypuft fails.
Actions