MANAGERHYPE setup is now complete!

This commit is contained in:
Josh Patterson
2025-03-12 21:05:04 -04:00
parent ae94722eda
commit 44a5b3b1e5
23 changed files with 493 additions and 297 deletions

View File

@@ -512,7 +512,7 @@ configure_minion() {
'workstation')
echo "master: '$MSRV'" >> "$minion_config"
;;
'manager' | 'eval' | 'managersearch' | 'standalone' | 'import')
'manager'* | 'eval' | 'standalone' | 'import')
cp -f ../salt/ca/files/signing_policies.conf /etc/salt/minion.d/signing_policies.conf
printf '%s\n'\
"master: '$HOSTNAME'"\
@@ -609,6 +609,10 @@ check_requirements() {
req_mem=8
req_cores=2
req_nics=1
elif [[ $is_managerhype || $is_hypervisor ]]; then
req_mem=64
req_cores=32
req_nics=1
fi
if [[ $setup_type == 'network' ]] ; then
@@ -1574,6 +1578,10 @@ process_installtype() {
is_receiver=true
elif [ "$install_type" = 'DESKTOP' ]; then
is_desktop=true
elif [ "$install_type" = 'HYPERVISOR' ]; then
is_hypervisor=true
elif [ "$install_type" = 'MANAGERHYPE' ]; then
is_managerhype=true
fi
}