roaksoax@rivals:~/project/maas⟫ sudo maas init
Mode (all/region+rack/region/rack/noneall/region+rack/region/rack/none) [default=all]? all
MAAS URL [default=http://192.168.1.1:5240/MAAS]: http://192.168.122.1:5240/MAAS
Create first admin account:
System check identified some issues:
WARNINGS:
?: (urls.W002) Your URL pattern '^/*' [name='metadata'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*(?P<version>[^/]+)/by-id/(?P<system_id>[\w\-]+)/$' [name='metadata-node-by-id'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*(?P<version>[^/]+)/by-mac/(?P<mac>[^/]+)/meta-data/(?P<item>.*)$' [name='metadata-meta-data-by-mac'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*(?P<version>[^/]+)/by-mac/(?P<mac>[^/]+)/user-data$' [name='metadata-user-data-by-mac'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*(?P<version>[^/]+)/enlist-preseed/$' [name='metadata-enlist-preseed'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*(?P<version>[^/]+)/maas-commissioning-scripts' [name='commissioning-scripts'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*(?P<version>[^/]+)/maas-scripts' [name='maas-scripts'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*(?P<version>[^/]+)/meta-data/(?P<item>.*)$' [name='metadata-meta-data'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*(?P<version>[^/]+)/user-data$' [name='metadata-user-data'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*curtin/(?P<version>[^/]+)/meta-data/(?P<item>.*)$' [name='curtin-metadata-meta-data'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*curtin/(?P<version>[^/]+)/user-data$' [name='curtin-metadata-user-data'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*curtin[/]*$' [name='curtin-metadata'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*enlist/(?P<version>[^/]+)/meta-data/(?P<item>.*)$' [name='enlist-metadata-meta-data'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*enlist/(?P<version>[^/]+)/user-data$' [name='enlist-metadata-user-data'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*enlist/(?P<version>[^/]+)[/]*$' [name='enlist-version'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
?: (urls.W002) Your URL pattern '^/*enlist[/]*$' [name='enlist'] has a regex beginning with a '/'. Remove this slash as it is unnecessary. If this pattern is targeted in an include(), ensure the include() pattern has a trailing '/'.
Username: admin
Password:
Again:
Email: <email address hidden>
Import SSH keys [] (lp:user-id or gh:user-id): andreserl
SSH import protocol was not entered. Using Launchpad protocol (default).
This is most likely a duplicate of bug #1705504: I'll wait for it to land (hit conflicts then lint issues after resolving those), and then double check, but I've specifically fixed the URL patterns to avoid this warning.