2012-09-04 05:29:15 |
Julian Edwards |
description |
When packaging installs maas-dhcp it will run "maas generate_dhcp_config" which also sets up the master nodegroup. This will also cause a task to run that generates the dhcpd.conf if the enable_dhcp flag is set.
Problem is, if the flag is not set, then the config is not written and the admin has to either run the script again or run a different script to give sample config output and restart the dhcpd manually.
The solution is to implicitly set the enable_dhcp flag if dhcp parameters are supplied - it's fairly certain that the user wants to set up DHCP. |
When packaging installs maas-dhcp it will run "maas config-master-dhcp" which also sets up the master nodegroup. This will also cause a task to run that generates the dhcpd.conf if the enable_dhcp flag is set.
Problem is, if the flag is not set, then the config is not written and the admin has to either run the script again or run a different script to give sample config output and restart the dhcpd manually.
The solution is to implicitly set the enable_dhcp flag if dhcp parameters are supplied - it's fairly certain that the user wants to set up DHCP. |
|