Uses the official document,
I installed maas uses snap ,and found a dhcp problem, Created a dhcp snippets and enabled it,as the screenshot below:
you can see the warrning of the dhcp service: " DHCP is not enabled on any VLAN. This will prevent machines from being able to PXE boot, unless an external DHCP server is being used." is stll exist.
To be notesd, I have skipped all the “first time use configure”.
And here is the search result of the dhcp-service model below :
root@autoinstall:~# ps -ef | grep dhcp
root 3545 891 0 09:06 pts/0 00:00:00 grep --color=auto dhcp
###################################################################
root@autoinstall:~# dpkg -l | grep dhcp
ii isc-dhcp-client 4.4.1-2.3ubuntu2.3 amd64 DHCP client for automatically obtaining an IP address
ii isc-dhcp-common 4.4.1-2.3ubuntu2.3 amd64 common manpages relevant to all of the isc-dhcp packages
###################################################################
root@autoinstall:~# maas status
Service Startup Current Since
agent disabled active today at 08:43 UTC
apiserver enabled active today at 08:43 UTC
bind9 disabled active today at 08:43 UTC
dhcpd disabled inactive -
dhcpd6 disabled inactive -
http disabled active today at 08:43 UTC
ntp disabled active today at 08:43 UTC
proxy disabled active today at 08:43 UTC
rackd enabled active today at 08:43 UTC
regiond enabled active today at 08:43 UTC
syslog disabled active today at 08:43 UTC
temporal disabled active today at 08:43 UTC
temporal-worker disabled active today at 08:43 UTC
root@autoinstall:~#
###################################################################
And the dhcp IP can not get by the PXE boat server.
Pls help, Many thx.