2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

Merge branch 'master' of github.com:xcat2/xcat-core into 1214

This commit is contained in:
junxiawang 2016-12-15 04:33:49 -05:00
commit 3cb074c912
4 changed files with 473 additions and 3 deletions

View File

@ -9,7 +9,7 @@ dracut_install efibootmgr
#dracut_install libvirtd /usr/share/libvirt/cpu_map.xml /usr/bin/qemu-img /usr/libexec/qemu-kvm
dracut_install mkswap df brctl vconfig ifenslave ssh-keygen scp clear dhclient lldpad
dracut_install lldptool /lib64/libnss_dns-2.12.so /lib64/libnss_dns.so.2
dracut_install poweroff ntpq ntpd ntpdate hwclock date /usr/share/terminfo/x/xterm /usr/share/terminfo/s/screen /etc/nsswitch.conf /etc/services
dracut_install poweroff ntpq ntpd hwclock date /usr/share/terminfo/x/xterm /usr/share/terminfo/s/screen /etc/nsswitch.conf /etc/services
dracut_install /sbin/rsyslogd /etc/protocols umount /bin/rpm /usr/lib/rpm/rpmrc
dracut_install chmod /lib/libc.so.6 /lib/ld-linux.so.2 /lib/libdl.so.2 /lib/libm.so.6 /sbin/route /sbin/ifconfig /usr/bin/whoami /usr/bin/head /usr/bin/tail basename /etc/redhat-release ping tr lsusb /usr/share/hwdata/usb.ids #ibm fw wrapper requirements
dracut_install dmidecode /usr/lib64/libstdc++.so.6 #uxspi prereqs, but will use dmidecode to improve decision on loading ipmi_si

View File

@ -260,10 +260,11 @@ fi
openssl genrsa -out /etc/xcat/certkey.pem 4096 > /dev/null 2>&1 &
logger -s -t $log_label -p local4.info "Acquired IPv4 address on $bootnic"
ip addr show dev $bootnic|grep -v 'scope link'|grep -v 'dynamic'|grep -v inet6|grep inet|awk '{print $2}'
logger -s -t $log_label -p local4.info "Attempting to sync the date with $XCATMASTER..."
ntpdate -b $XCATMASTER
logger -s -t $log_label -p local4.info "Starting ntpd..."
ntpd -g -x
if [ -e "/dev/rtc" ]; then
logger -s -t $log_label -p local4.info "Attempting to sync hardware clock..."
@ -271,6 +272,13 @@ if [ -e "/dev/rtc" ]; then
disown
fi
# rv 0 state does not work with the new ntp versions
logger -s -t $log_label -p local4.info "Checking ntpq for the offset values..."
while [ "`ntpq -c 'rv 0 offset' | awk -F '=' '/offset=/ { print $2 }' | awk -F '.' '{ print $1 }' | sed s/-//`" -ge 1000 ]; do
sleep 1
done
logger -s -t $log_label -p local4.info "Checking ntpq for the offset values... Done"
logger -s -t $log_label -p local4.info "Restarting syslog..."
read -r RSYSLOG_PID </var/run/syslogd.pid 2>/dev/null
kill "$RSYSLOG_PID" 2>/dev/null

View File

@ -0,0 +1,228 @@
Diskless_installation_flat_p8_le
Full_installation_flat_p8_le
go_xcat_local_repo_case7
go_xcat_noinput
go_xcat_with_x
go_xcat_with_xcat-version-1
go_xcat_online_repo_case6
makehosts_h
makehosts_help
makehosts_n
makehosts_n_noderange
chdef_null
chdef_z
chdef_t_o_error
chtab_null
chtab_d
chtab_modify_node
chtab_modify_key
chtab_err_symble
chtab_err_table
chtab_h
chtab_v
packimage_o_p_a_m
packimage_imagename
packimage_h
packimage_v
packimage_m_cpio_c_gzip
packimage_m_cpio_c_pigz
packimage_m_cpio_c_xz
packimage_m_tar_c_pigz
packimage_m_tar_c_gzip
packimage_m_tar_c_xz
packimage_m_invalid_archive_method
packimage_m_invalid_compress_method
pping_h
pping_v
pping_node
gettab_key_table
gettab_H
gettab_err
gettab_h
lsdef_null
lsdef_a
lsdef_t_o_l
lsdef_t_o_l_z
lsdef_t
lsdef_t_i_o
lsdef_t_w
lsdef_t_err
makeconservercf_null
makeconservercf_noderange
makeconservercf_d
makedhcp_n
makedhcp_a
makedhcp_a_d
makedhcp_d
mkdef_null
mkdef_z
mkdef_t_o_error
nodeadd_noderange
nodeadd_err_symbol
nodeadd_null
nodeadd_noderange_nodetype
nodeadd_v
nodeadd_h
nodegrpch_v
nodegrpch_h
nodegrpch_groups
nodegrpch_err
nodech_noderange_table
nodech_noderange_table_comma
nodech_noderange_table_arrow
nodech_noderanage_table_at
nodech_delete
nodech_error_node
nodech_error_table
nodech_h
nodech_v
nodech_noderange_table_include
nodech_noderange_table_uninclude
nodech_noderange_table_equal
nodech_noderange_table_unequal
nodech_noderange_shortname_groups
nodech_noderange_shortname_tags
nodech_noderange_shortname_mgt
nodels_null
nodels_H
nodels_noderange
nodels_err_symbol
nodels_err_noderange
nodels_noderange_shortname_groups
nodels_noderange_shortname_tags
nodels_noderange_shortname_mgt
nodels_table_include
nodels_noderange_table_uninclude
nodels_noderange_table_equal
nodels_noderange_table_unequal
nodels_b
nodels_S
nodels_noderange_table
nodels_tablevalue
nodels_tablevalue_tablecolumn
nodels_noderange_tablecolumn
nodels_h
nodels_v
xcatstanzafile_colon
xcatstanzafile_attribute
xcatstanzafile_objtype
xcatstanzafile_tab
xcatstanzafile_multattr
xcatstanzafile_defaultvalue
xcatstanzafile_specificvalue
noderm_noderange
noderm_h
noderm_null
noderm_err_node
nodeset_stat
nodeset_noderange
nodestat_err_node
rinv_noderange_err
rmdef_null
rmdef_t_err
rpower_err_noderange
rvitals_noderange_err
tabdump_table
tabdump_d
tabdump_v
tabdump_h
tabdump_help
tabdump_w_match
tabdump_w_equal
tabdump_w_ne
tabdump_w_notmatch
tabdump_w_gt
tabdump_w_ge
tabdump_w_lt
tabdump_w_le
tabdump_f_d
tabdump_d_nodehm
tabprune_h
tabprune_v
tabprune_a_eventlog
tabprune_V_a_eventlog
tabprune_i_auditlog
tabprune_V_n_auditlog
tabgrep_node
tabgrep_null
tabgrep_h
tabgrep_err
tabrestore_table
tabrestore_null
tabrestore_h
tabrestore_err
dumpxCATdb_h
dumpxCATdb_v
dumpxCATdb_p_nullskiptables
dumpxCATdb_a_p_nullskiptables
dumpxCATdb_p_skiptables
dumpxCATdb_a_p_skiptables
dumpxCATdb_p_nullskiptables_V
dumpxCATdb_a_p_nullskiptables_V
dumpxCATdb_p_V
restorexCAT_h
restorexCATdb_v
restorexCATdb_p_V
restorexCATdb_a_p_V
restorexCATdb_wrongpath
regnotif_null
regnotif_o
regnotif_err
regnotif_h
regnotif_v
unregnotif_null
unregnotif_f
unregnotif_h
unregnotif_v
lsxcatd_null
lsxcatd_h
lsxcatd_d
lsxcatd_a
makedns_d_node
makedns_n
makedns
copycds_iso
copycds_n
copycds_a
copycds_n_a
copycds_a_err
copycds_n_err
xdsh_h
xdsh_V
xdsh_regular_command
xdsh_Q_command
xdsh_c_cn
xdsh_e_filename
xdsh_E
xdsh_i_linux
xdsh_t
xdsh_q
xdsh_T
xdsh_o
switchdiscover_range_default
switchdiscover_h
switchdiscover_range_s
switchdiscover_range_default_w
switchdiscover_range_r
switchdiscover_range_x
switchdiscover_range_z
switchdiscover_range_z_V
nodeset_shell
nodeset_cmdline
nodeset_runimg
xcatd_start_systemd
xcatd_stop_systemd
xcatd_restart_systemd
run_command_with_XCATBYPASS_systemd
disable_root_permission_in_policy_table_systemd
assign_certain_command_permission_systemd
xcatconfig_u_check_xcatsslversion_rhels_sles
sles_migration1
sles_migration2
reg_linux_statelite_installation_flat
SN_setup_case
reg_linux_diskfull_installation_hierarchy
reg_linux_diskless_installation_hierarchy
reg_linux_statelite_installation_hierarchy_by_ramdisk
reg_linux_statelite_installation_hierarchy_by_nfs
clean_up_env

View File

@ -0,0 +1,234 @@
reg_linux_diskfull_installation_flat
go_xcat_local_repo_case7
go_xcat_noinput
go_xcat_with_x
go_xcat_with_xcat-version-1
go_xcat_online_repo_case6
makehosts_h
makehosts_help
makehosts_n
makehosts_n_noderange
chdef_null
chdef_z
chdef_t_o_error
chtab_null
chtab_d
chtab_modify_node
chtab_modify_key
chtab_err_symble
chtab_err_table
chtab_h
chtab_v
packimage_o_p_a_m
packimage_imagename
packimage_h
packimage_v
pping_h
pping_v
pping_node
gettab_key_table
gettab_H
gettab_err
gettab_h
lsdef_null
lsdef_a
lsdef_t_o_l
lsdef_t_o_l_z
lsdef_t
lsdef_t_i_o
lsdef_t_w
lsdef_t_err
lslite_i
lslite_noderange
lslite_h
makeconservercf_null
makeconservercf_noderange
makeconservercf_d
makedhcp_n
makedhcp_a
makedhcp_a_d
makedhcp_d
mkdef_null
mkdef_z
mkdef_t_o_error
nodeadd_noderange
nodeadd_err_symbol
nodeadd_null
nodeadd_noderange_nodetype
nodeadd_v
nodeadd_h
nodegrpch_v
nodegrpch_h
nodegrpch_groups
nodegrpch_err
nodech_noderange_table
nodech_noderange_table_comma
nodech_noderange_table_arrow
nodech_noderanage_table_at
nodech_delete
nodech_error_node
nodech_error_table
nodech_h
nodech_v
nodech_noderange_table_include
nodech_noderange_table_uninclude
nodech_noderange_table_equal
nodech_noderange_table_unequal
nodech_noderange_shortname_groups
nodech_noderange_shortname_tags
nodech_noderange_shortname_mgt
nodels_null
nodels_H
nodels_noderange
nodels_err_symbol
nodels_err_noderange
nodels_noderange_shortname_groups
nodels_noderange_shortname_tags
nodels_noderange_shortname_mgt
nodels_table_include
nodels_noderange_table_uninclude
nodels_noderange_table_equal
nodels_noderange_table_unequal
nodels_b
nodels_S
nodels_noderange_table
nodels_tablevalue
nodels_tablevalue_tablecolumn
nodels_noderange_tablecolumn
nodels_h
nodels_v
xcatstanzafile_normal
xcatstanzafile_colon
xcatstanzafile_attribute
xcatstanzafile_objtype
xcatstanzafile_tab
xcatstanzafile_multattr
xcatstanzafile_defaultvalue
xcatstanzafile_specificvalue
noderm_noderange
noderm_h
noderm_null
noderm_err_node
nodeset_stat
nodeset_noderange
nodestat_noderange
nodestat_err_node
rinv_noderange_err
rmdef_null
rmdef_t_err
rpower_err_noderange
rvitals_noderange_err
tabdump_table
tabdump_d
tabdump_v
tabdump_h
tabdump_help
tabdump_w_match
tabdump_w_equal
tabdump_w_ne
tabdump_w_notmatch
tabdump_w_gt
tabdump_w_ge
tabdump_w_lt
tabdump_w_le
tabdump_f_d
tabdump_d_nodehm
tabprune_h
tabprune_v
tabprune_a_eventlog
tabprune_V_a_eventlog
tabprune_i_auditlog
tabprune_V_n_auditlog
tabgrep_node
tabgrep_null
tabgrep_h
tabgrep_err
tabrestore_table
tabrestore_null
tabrestore_h
tabrestore_err
dumpxCATdb_h
dumpxCATdb_v
dumpxCATdb_p_nullskiptables
dumpxCATdb_a_p_nullskiptables
dumpxCATdb_p_skiptables
dumpxCATdb_a_p_skiptables
dumpxCATdb_p_nullskiptables_V
dumpxCATdb_a_p_nullskiptables_V
dumpxCATdb_p_V
restorexCAT_h
restorexCATdb_v
restorexCATdb_p_V
restorexCATdb_a_p_V
restorexCATdb_wrongpath
regnotif_null
regnotif_o
regnotif_err
regnotif_h
regnotif_v
unregnotif_null
unregnotif_f
unregnotif_h
unregnotif_v
lsxcatd_null
lsxcatd_h
lsxcatd_d
lsxcatd_a
makedns_d_node
makedns_n
makedns
copycds_iso
copycds_n
copycds_a
copycds_n_a
copycds_a_err
copycds_n_err
xdsh_h
xdsh_V
xdsh_regular_command
xdsh_Q_command
xdsh_c_cn
xdsh_e_filename
xdsh_E
xdsh_i_linux
xdsh_t
xdsh_q
xdsh_T
xdsh_o
switchdiscover_range_default
switchdiscover_h
switchdiscover_range_s
switchdiscover_range_default_w
switchdiscover_range_r
switchdiscover_range_x
switchdiscover_range_z
switchdiscover_range_z_V
nodeset_shell
nodeset_cmdline
nodeset_runimg
nodeset_check_warninginfo
xcatd_start_systemd
xcatd_stop_systemd
xcatd_restart_systemd
run_command_with_XCATBYPASS_systemd
disable_root_permission_in_policy_table_systemd
assign_certain_command_permission_systemd
xcatconfig_u_check_xcatsslversion_rhels_sles
sles_migration1
sles_migration2
reg_linux_diskless_installation_flat
packimage_m_cpio_c_gzip
packimage_m_cpio_c_pigz
packimage_m_cpio_c_xz
packimage_m_tar_c_pigz
packimage_m_tar_c_gzip
packimage_m_tar_c_xz
packimage_m_invalid_archive_method
packimage_m_invalid_compress_method
reg_linux_statelite_installation_flat
SN_setup_case
reg_linux_diskfull_installation_hierarchy
reg_linux_diskless_installation_hierarchy
reg_linux_statelite_installation_hierarchy_by_ramdisk
reg_linux_statelite_installation_hierarchy_by_nfs
clean_up_env