mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-08-03 16:06:59 +00:00
fix(xcat-server): add an identity section to the Ubuntu autoinstall config
The generated Subiquity autoinstall config defined no identity section. Newer
Subiquity treats a config without an identity as incomplete and stops at an
interactive "Continue with autoinstall?" confirmation, so the install never
proceeds unattended (the prompt's advice to add 'autoinstall' to the kernel
command line is a red herring -- it was already present). Provide an identity
with a password sourced from the cluster passwd table so the install runs
non-interactively.
Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
(cherry picked from commit 86e77bcd7f)
This commit is contained in:
committed by
Vinícius Ferrão
parent
44a4e40350
commit
52d2435528
@@ -12,6 +12,11 @@ autoinstall:
|
||||
allow-pw: true
|
||||
authorized-keys: []
|
||||
install-server: true
|
||||
identity:
|
||||
realname: 'xCAT Admin'
|
||||
username: xcatadm
|
||||
hostname: #HOSTNAME#
|
||||
password: "#CRYPTORLOCKED:passwd:key=system,username=root:password#"
|
||||
#UBUNTU_SUBIQUITY_APT_CONFIG#
|
||||
kernel:
|
||||
package: linux-generic
|
||||
|
||||
Reference in New Issue
Block a user