[node-patches] Change in ovirt-node[master]: Add some extra parameters for autoinstall

rbarry at redhat.com rbarry at redhat.com
Fri Aug 9 21:36:37 UTC 2013


Ryan Barry has uploaded a new change for review.

Change subject: Add some extra parameters for autoinstall
......................................................................

Add some extra parameters for autoinstall

Provide parameters for some of the TUI options which already
exist:
Keyboard Layout
Disable AES-NI
Enable Strong RNG
NFSv4 Domain

Change-Id: I8d539261ea262f726cc977972d986e50a92a972e
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M scripts/ovirt-init-functions.sh.in
1 file changed, 37 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/87/17887/1

diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in
index 4e555d8..85887e1 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -233,6 +233,10 @@
     #   collectd=server[:port]
     #   hostname=fqdn
     #   tuned=profile
+    #   keyboard=layout
+    #   aesni=[y|n]
+    #   strongrng=<bytes>
+    #   nfsv4_domain=domain
     #   TBD logrotate maxsize
 
     #   BOOTIF=link|eth*|<MAC> (appended by pxelinux)
@@ -392,6 +396,23 @@
     #tuned=profile
     # the tuned profile to run by default
     tuned_profile=
+
+    # aesni=[y|n]
+    # disable AES-NI
+    disable_aes_ni=
+
+    # strongrng=<bytes>
+    # use strong rng
+    use_strong_rng=
+
+    # nfsv4_domain=domain
+    # domain to use for nfsv4
+    nfsv4_domain=
+    
+    # keyboard=layout
+    # default keyboard layout
+    keyboard_layout=
+
 
     cat /etc/system-release >> $OVIRT_LOGFILE
 
@@ -711,6 +732,21 @@
             tuned*)
             tuned_profile=${i#tuned=}
             ;;
+            aesni=1 | aesni=y | aesni=yes)
+            disable_aes_ni="True"
+            ;;
+            aesni=0 | aesni=n | aesni=no)
+            disable_aes_ni="False"
+            ;;
+            nfsv4_domain*)
+            nfsv4_domain=${i#nfsv4_domain=}
+            ;;
+            use_strong_rng*)
+            use_strong_rng=${i#use_strong_rng=}
+            ;;
+            keyboard*)
+            keyboard_layout=${i#keyboard=}
+            ;;
             swap_encrypt=* | ovirt_swap_encrypt=* )
             i=${i#ovirt_swap_encrypt=}
             i=${i#swap_encrypt=}
@@ -783,7 +819,7 @@
 
 
     # save boot parameters as defaults for ovirt-config-*
-    params="bootif init init_app vol_boot_size vol_efi_size vol_swap_size vol_root_size vol_config_size vol_logging_size vol_data_size vol_swap2_size vol_data2_size crypt_swap crypt_swap2 upgrade standalone overcommit ip_address ip_netmask ip_gateway ipv6 dns ntp vlan ssh_pwauth syslog_server syslog_port collectd_server collectd_port bootparams hostname firstboot runtime_mode kdump_nfs iscsi_name snmp_password install netconsole_server netconsole_port stateless cim_enabled wipe_fakeraid iscsi_init iscsi_target_name iscsi_target_host iscsi_target_port iscsi_install network_layout bond_name bond_slaves bond_options tuned_profile"
+    params="bootif init init_app vol_boot_size vol_efi_size vol_swap_size vol_root_size vol_config_size vol_logging_size vol_data_size vol_swap2_size vol_data2_size crypt_swap crypt_swap2 upgrade standalone overcommit ip_address ip_netmask ip_gateway ipv6 dns ntp vlan ssh_pwauth syslog_server syslog_port collectd_server collectd_port bootparams hostname firstboot runtime_mode kdump_nfs iscsi_name snmp_password install netconsole_server netconsole_port stateless cim_enabled wipe_fakeraid iscsi_init iscsi_target_name iscsi_target_host iscsi_target_port iscsi_install network_layout bond_name bond_slaves bond_options tuned_profile nfsv4_domain use_strong_rng disable_aes_ni keyboard_layout"
     # mount /config unless firstboot is forced
     if [ "$firstboot" != "1" ]; then
         mount_config


-- 
To view, visit http://gerrit.ovirt.org/17887
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8d539261ea262f726cc977972d986e50a92a972e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list