Add metric in zone template
Change-Id: Ia69811261d15c6aeccdb11788b072dbbf263b730
This commit is contained in:
parent
62d00e60e6
commit
717d0b81d8
@ -77,6 +77,7 @@ sudo cp -rn /etc/cobbler/zone.template /root/backup/cobbler/
|
||||
sudo rm -f /etc/cobbler/zone.template
|
||||
sudo cp -rf $ADAPTERS_HOME/cobbler/conf/zone.template /etc/cobbler/zone.template
|
||||
sudo sed -i "s/\$hostname IN A \$ipaddr/$HOSTNAME IN A $ipaddr/g" /etc/cobbler/zone.template
|
||||
sudo sed -i "s/metrics IN A \$ipaddr/metrics IN A $ipaddr/g" /etc/cobbler/zone.template
|
||||
sudo chmod 644 /etc/cobbler/zone.template
|
||||
|
||||
# update modules.conf
|
||||
|
Loading…
Reference in New Issue
Block a user