@@ -6295,8 +6295,8 @@ __get_packagesite_onedir_latest() {
62956295}
62966296
62976297
6298- __install_saltstack_photon_onedir_repository () {
6299- echodebug " __install_saltstack_photon_onedir_repository () entry"
6298+ __install_saltstack_vmware_photon_os_onedir_repository () {
6299+ echodebug " __install_saltstack_vmware_photon_os_onedir_repository () entry"
63006300
63016301 if [ -n " $_PY_EXE " ] && [ " $_PY_MAJOR_VERSION " -ne 3 ]; then
63026302 echoerror " Python version is no longer supported, only Python 3"
@@ -6376,8 +6376,8 @@ __install_saltstack_photon_onedir_repository() {
63766376 return 0
63776377}
63786378
6379- install_photon_deps () {
6380- echodebug " install_photon_deps () entry"
6379+ install_vmware_photon_os_deps () {
6380+ echodebug " install_vmware_photon_os_deps () entry"
63816381
63826382 if [ -n " $_PY_EXE " ] && [ " $_PY_MAJOR_VERSION " -ne 3 ]; then
63836383 echoerror " Python version is no longer supported, only Python 3"
@@ -6406,8 +6406,8 @@ install_photon_deps() {
64066406 return 0
64076407}
64086408
6409- install_photon_stable_post () {
6410- echodebug " install_photon_stable_post () entry"
6409+ install_vmware_photon_os_stable_post () {
6410+ echodebug " install_vmware_photon_os_stable_post () entry"
64116411
64126412 for fname in api master minion syndic; do
64136413 # Skip salt-api since the service should be opt-in and not necessarily started on boot
@@ -6424,8 +6424,8 @@ install_photon_stable_post() {
64246424 done
64256425}
64266426
6427- install_photon_git_deps () {
6428- echodebug " install_photon_git_deps () entry"
6427+ install_vmware_photon_os_git_deps () {
6428+ echodebug " install_vmware_photon_os_git_deps () entry"
64296429
64306430 if [ -n " $_PY_EXE " ] && [ " $_PY_MAJOR_VERSION " -ne 3 ]; then
64316431 echoerror " Python version is no longer supported, only Python 3"
@@ -6463,7 +6463,7 @@ install_photon_git_deps() {
64636463
64646464 __PACKAGES=" python${PY_PKG_VER} -devel python${PY_PKG_VER} -pip python${PY_PKG_VER} -setuptools gcc glibc-devel linux-devel.x86_64 cython${PY_PKG_VER} "
64656465
6466- echodebug " install_photon_git_deps () distro major version, ${DISTRO_MAJOR_VERSION} "
6466+ echodebug " install_vmware_photon_os_git_deps () distro major version, ${DISTRO_MAJOR_VERSION} "
64676467
64686468 # # Photon 5 container is missing systemd on default installation
64696469 if [ " ${DISTRO_MAJOR_VERSION} " -lt 5 ]; then
@@ -6489,8 +6489,8 @@ install_photon_git_deps() {
64896489 return 0
64906490}
64916491
6492- install_photon_git () {
6493- echodebug " install_photon_git () entry"
6492+ install_vmware_photon_os_git () {
6493+ echodebug " install_vmware_photon_os_git () entry"
64946494
64956495 if [ " ${_PY_EXE} " != " " ]; then
64966496 _PYEXE=${_PY_EXE}
@@ -6500,7 +6500,7 @@ install_photon_git() {
65006500 return 1
65016501 fi
65026502
6503- install_photon_git_deps
6503+ install_vmware_photon_os_git_deps
65046504
65056505 if [ -f " ${_SALT_GIT_CHECKOUT_DIR} /salt/syspaths.py" ]; then
65066506 ${_PYEXE} setup.py --salt-config-dir=" $_SALT_ETC_DIR " --salt-cache-dir=" ${_SALT_CACHE_DIR} " ${SETUP_PY_INSTALL_ARGS} install --prefix=/usr || return 1
@@ -6510,8 +6510,8 @@ install_photon_git() {
65106510 return 0
65116511}
65126512
6513- install_photon_git_post () {
6514- echodebug " install_photon_git_post () entry"
6513+ install_vmware_photon_os_git_post () {
6514+ echodebug " install_vmware_photon_os_git_post () entry"
65156515
65166516 for fname in api master minion syndic; do
65176517 # Skip if not meant to be installed
@@ -6543,9 +6543,9 @@ install_photon_git_post() {
65436543 done
65446544}
65456545
6546- install_photon_restart_daemons () {
6546+ install_vmware_photon_os_restart_daemons () {
65476547 [ " $_START_DAEMONS " -eq $BS_FALSE ] && return
6548- echodebug " install_photon_restart_daemons () entry"
6548+ echodebug " install_vmware_photon_os_restart_daemons () entry"
65496549
65506550
65516551 for fname in api master minion syndic; do
@@ -6567,8 +6567,8 @@ install_photon_restart_daemons() {
65676567 done
65686568}
65696569
6570- install_photon_check_services () {
6571- echodebug " install_photon_check_services () entry"
6570+ install_vmware_photon_os_check_services () {
6571+ echodebug " install_vmware_photon_os_check_services () entry"
65726572
65736573 for fname in api master minion syndic; do
65746574 # Skip salt-api since the service should be opt-in and not necessarily started on boot
@@ -6585,8 +6585,8 @@ install_photon_check_services() {
65856585 return 0
65866586}
65876587
6588- install_photon_onedir_deps () {
6589- echodebug " install_photon_onedir_deps () entry"
6588+ install_vmware_photon_os_onedir_deps () {
6589+ echodebug " install_vmware_photon_os_onedir_deps () entry"
65906590
65916591
65926592 if [ " $_UPGRADE_SYS " -eq $BS_TRUE ]; then
@@ -6600,17 +6600,17 @@ install_photon_onedir_deps() {
66006600 fi
66016601
66026602 if [ " $_DISABLE_REPOS " -eq " $BS_FALSE " ]; then
6603- __install_saltstack_photon_onedir_repository || return 1
6603+ __install_saltstack_vmware_photon_os_onedir_repository || return 1
66046604 fi
66056605
66066606 # If -R was passed, we need to configure custom repo url with rsync-ed packages
66076607 # Which was handled in __install_saltstack_rhel_repository buu that hanlded old-stable which is for
66086608 # releases which are End-Of-Life. This call has its own check in case -r was passed without -R.
66096609 if [ " $_CUSTOM_REPO_URL " != " null" ]; then
6610- __install_saltstack_photon_onedir_repository || return 1
6610+ __install_saltstack_vmware_photon_os_onedir_repository || return 1
66116611 fi
66126612
6613- __PACKAGES=" procps-ng sudo shadow"
6613+ __PACKAGES=" procps-ng sudo shadow wget "
66146614
66156615 # shellcheck disable=SC2086
66166616 __tdnf_install_noinput ${__PACKAGES} || return 1
@@ -6626,9 +6626,9 @@ install_photon_onedir_deps() {
66266626}
66276627
66286628
6629- install_photon_onedir () {
6629+ install_vmware_photon_os_onedir () {
66306630
6631- echodebug " install_photon_onedir () entry"
6631+ echodebug " install_vmware_photon_os_onedir () entry"
66326632
66336633 STABLE_REV=$ONEDIR_REV
66346634 _GENERIC_PKG_VERSION=" "
@@ -6672,9 +6672,9 @@ install_photon_onedir() {
66726672 return 0
66736673}
66746674
6675- install_photon_onedir_post () {
6675+ install_vmware_photon_os_onedir_post () {
66766676 STABLE_REV=$ONEDIR_REV
6677- install_photon_stable_post || return 1
6677+ install_vmware_photon_os_stable_post || return 1
66786678
66796679 return 0
66806680}
0 commit comments