summaryrefslogtreecommitdiff
path: root/ks-template
diff options
context:
space:
mode:
authorJon Clausen <jac@nordu.net>2018-09-03 12:47:56 +0200
committerJon Clausen <jac@nordu.net>2018-09-03 12:47:56 +0200
commita7e6ecc31357d0c5e0b8a2ba68794187825136a3 (patch)
treea1ecd13fce538f28f4ddfd4d7db3a7c205283d0c /ks-template
parent8e78e5b9d01d56c807ea4b08e6f05dfe46327d54 (diff)
install and start rngd to get some entropy
Diffstat (limited to 'ks-template')
-rw-r--r--ks-template/hw/dell/R7425/100g-dtn.ks5
-rw-r--r--ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks5
2 files changed, 10 insertions, 0 deletions
diff --git a/ks-template/hw/dell/R7425/100g-dtn.ks b/ks-template/hw/dell/R7425/100g-dtn.ks
index 3461943..ed79763 100644
--- a/ks-template/hw/dell/R7425/100g-dtn.ks
+++ b/ks-template/hw/dell/R7425/100g-dtn.ks
@@ -66,6 +66,11 @@ echo 'GRUB_TERMINAL="serial console"' >>/etc/default/grub
echo 'GRUB_SERIAL_COMMAND="serial --speed=115200"' >>/etc/default/grub
/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg
+# Install and enable rngd, to take advantage of HWRNG
+yum install -y rngd
+systemctl enable rngd
+systemctl start rngd
+
# try to get access to the screen:
#exec < /dev/tty6 > /dev/tty6
#chvt 6
diff --git a/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks b/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks
index 2e7368a..773b064 100644
--- a/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks
+++ b/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks
@@ -62,6 +62,11 @@ kexec-tools
/bin/sed -i '' -e 's/#PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config
/bin/sed -i '' -e 's/#ListenAddress 0.0.0.0/ListenAddress PRIIP/' /etc/ssh/sshd_config
+# Install and enable rngd, to take advantage of HWRNG
+yum install -y rngd
+systemctl enable rngd
+systemctl start rngd
+
# try to get access to the screen:
#exec < /dev/tty6 > /dev/tty6
#chvt 6