mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-16 10:39:23 +00:00
Move esxi customization back to include
This makes modding the template a bit safer and more powerful. It seems it was incorrect that the issue in esxi6 was not due to %include and is just a fact of life.
This commit is contained in:
parent
92913e1119
commit
b8dcfbae45
@ -1,4 +1,6 @@
|
||||
accepteula
|
||||
clearpart --firstdisk --overwritevmfs
|
||||
install --firstdisk --overwritevmfs
|
||||
%include /tmp/ksnet
|
||||
%include /tmp/rootpw
|
||||
reboot
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
/opt/confluent/bin/apiclient /confluent-public/os/$profile/scripts/makeksnet >> /tmp/makeksnet
|
||||
chmod +x /tmp/makeksnet
|
||||
/tmp/makeksnet >> /etc/confluent/ks.cfg
|
||||
/tmp/makeksnet > /tmp/ksent
|
||||
rootpw=$(grep ^rootpassword: /etc/confluent/confluent.deploycfg|sed -e 's/^rootpassword: //')
|
||||
echo rootpw --iscrypted $rootpw >> /etc/confluent/ks.cfg
|
||||
echo rootpw --iscrypted $rootpw > /tmp/rootpw
|
||||
export BOOT_CMDLINE=ks=/etc/confluent/ks.cfg
|
||||
|
Loading…
x
Reference in New Issue
Block a user