summaryrefslogtreecommitdiffstats
path: root/ipe.ks
diff options
context:
space:
mode:
Diffstat (limited to 'ipe.ks')
-rw-r--r--ipe.ks14
1 files changed, 9 insertions, 5 deletions
diff --git a/ipe.ks b/ipe.ks
index 475755b..59cea59 100644
--- a/ipe.ks
+++ b/ipe.ks
@@ -47,14 +47,16 @@ logvol / --vgname=sysvg --size=@SIZE@ --name=lv_root --fstype=ext4
# Root password (KaaS)
#rootpw --iscrypted $6$ihAbktYN$T36KRAmi8ccjNrE5Y0gEl11Rb/dl3GjemejAJyHVzrAL51/st7aMZ0dqnMIkhubX/gUcPe5LdTlJODC9D/60h0
-# Root passowrd (IPE)
-rootpw --iscrypted $6$ioKrEQSxzYypx2HZ$jiynrl6knbmhbL066k.HjmxcwvQwBsT53LPlp2fRdkg2E1E7Gy4gwxaZ0m86rbD6q4dTaWdYfKhDVSij6N1Y7.
+# Root passowrd (IPE, old and compromised)
+#rootpw --iscrypted $6$ioKrEQSxzYypx2HZ$jiynrl6knbmhbL066k.HjmxcwvQwBsT53LPlp2fRdkg2E1E7Gy4gwxaZ0m86rbD6q4dTaWdYfKhDVSij6N1Y7.
+# Root password (IPE, mid-secure)
+rootpw --iscrypted $6$6qbYQDyLZcG6z9M/$qtkNhr3BB3uJinEZrhE1bTomJtT1qxDiavMadLfCVVM.F5Qv20a30Ovam7TzwUR1.G7bik25I8uNx09Qxl4Fe0
# System services
services --enabled="chronyd"
# System timezone
timezone Europe/Berlin --isUtc --ntpservers=@TIME@
-user --groups=wheel --name=csa --gecos="Suren A. Chilingaryan"
+user --groups=wheel --name=csa --uid=1001 --gid=1001 --gecos="Suren A. Chilingaryan"
# SELinux configuration
@SKIP_SECURITY@selinux --disabled
@@ -104,7 +106,7 @@ if [ -b /dev/@DISK1@ ]; then
dd if=/dev/zero of=$name bs=4096 seek=$(( $(blockdev --getsz $name) - 1024 )) count=1024
done
dd if=/dev/zero of=/dev/@DISK1@ bs=4096 count=1024
- #parted /dev/@DISK1@ --script -- mklabel gpt
+ parted /dev/@DISK1@ --script -- mklabel gpt
fi
if [ -b /dev/@DISK2@ ]; then
for name in /dev/@DISK2@?*; do
@@ -114,8 +116,10 @@ if [ -b /dev/@DISK2@ ]; then
dd if=/dev/zero of=$name bs=4096 seek=$(( $(blockdev --getsz $name) - 1024 )) count=1024
done
dd if=/dev/zero of=/dev/@DISK2@ bs=4096 count=1024
- #parted /dev/@DISK2@ --script -- mklabel gpt
+ parted /dev/@DISK2@ --script -- mklabel gpt
fi
+# wait for partition table to propogate
+sleep 10
@DISTRIB_PRE_CONFIG@
@NODE_PRE_CONFIG@