mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Bug 8208 - bare metal provisioning
setup name server when prepare external dhcp server
This commit is contained in:
parent
617ef5c178
commit
a414d33e12
@ -27,6 +27,8 @@ touch /var/log/dnsmasq.log
|
||||
[ $? -ne 0 ] && exit_with_error "touch /var/log/dnsmasq.log failed"
|
||||
touch /etc/dnsmasq-resolv.conf
|
||||
[ $? -ne 0 ] && exit_with_error "touch /etc/dnsmasq-resolv.conf failed"
|
||||
echo "nameserver $dns">/etc/dnsmasq-resolv.conf
|
||||
[ $? -ne 0 ] && exit_with_error "echo \"nameserver $dns\">/etc/dnsmasq-resolv.conf failed"
|
||||
touch /var/lib/dnsmasq.trace
|
||||
[ $? -ne 0 ] && exit_with_error "touch /var/lib/dnsmasq.trace failed"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user