diff options
author | Jon Clausen <jac@nordu.net> | 2018-09-04 14:34:02 +0200 |
---|---|---|
committer | Jon Clausen <jac@nordu.net> | 2018-09-04 14:34:02 +0200 |
commit | ca979aa9752bf88787913e6738e650146edae879 (patch) | |
tree | aa315e57dd0038e31e6744f3ed4203fd4b72a97d | |
parent | 1e6a68ee7c18d6754f43151875add9fbb2688fcc (diff) |
use kickstart options to install/enable rngd
-rw-r--r-- | ks-template/hw/dell/R7425/100g-dtn.ks | 8 | ||||
-rw-r--r-- | ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks | 8 |
2 files changed, 4 insertions, 12 deletions
diff --git a/ks-template/hw/dell/R7425/100g-dtn.ks b/ks-template/hw/dell/R7425/100g-dtn.ks index 82cf4ef..8c0344e 100644 --- a/ks-template/hw/dell/R7425/100g-dtn.ks +++ b/ks-template/hw/dell/R7425/100g-dtn.ks @@ -27,7 +27,7 @@ network --hostname=HOSTNAME.DOMAIN # Root password rootpw --iscrypted $6$BDD,Ee9.cqMe3zgI$yWLZMb5cORNSJyD0oJcLWVKX.p876wjDp2hrbPH0jqK/LmZgzQ9cP5qiEGHzqGMGNSwk/HGJXPxDbTwqNbuIw1 # System services -services --enabled="chronyd" +services --enabled="chronyd,rngd,sshd" # Do not configure the X Window System skipx # System timezone @@ -47,6 +47,7 @@ reboot @core chrony kexec-tools +rngd %end @@ -68,11 +69,6 @@ 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 - # Set up secondary interface routing: #SIR#echo -e "1024\tmi-01" >>/etc/iproute2/rt_tables #SIR#echo "default table mi-01 via SECGATEWAY" \ 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 e65d356..4ef1351 100644 --- a/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks +++ b/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks @@ -30,7 +30,7 @@ network --hostname=HOSTNAME.DOMAIN # Root password rootpw --iscrypted $6$BDD,Ee9.cqMe3zgI$yWLZMb5cORNSJyD0oJcLWVKX.p876wjDp2hrbPH0jqK/LmZgzQ9cP5qiEGHzqGMGNSwk/HGJXPxDbTwqNbuIw1 # System services -services --enabled="chronyd" +services --enabled="chronyd,rngd,sshd" # Do not configure the X Window System skipx # System timezone @@ -50,6 +50,7 @@ reboot @core chrony kexec-tools +rngd %end @@ -64,11 +65,6 @@ kexec-tools /bin/sed -i '' -e 's/#ListenAddress 0.0.0.0/ListenAddress PRIIP/' /etc/ssh/sshd_config /bin/sed -i '' -e 's/#UseDNS yes/UseDNS no/' /etc/ssh/sshd_config -# Install and enable rngd, to take advantage of HWRNG -yum install -y rngd -systemctl enable rngd -systemctl start rngd - # Set up secondary interface routing: #SIR#echo -e "1024\tmi-01" >>/etc/iproute2/rt_tables #SIR#echo "default table mi-01 via SECGATEWAY" \ |