-
Notifications
You must be signed in to change notification settings - Fork 546
Open
Description
Description
The bootstrap installer fails on PhotonOS 4 and 5.
The reason is that the installer assumes the name "photon".
But the installer tries to find "vmware_photon_os".
These names are used to find the internal functions in the insaller.
Changing the installer script as follow makes it work again.
sed --in-place 's/_photon_/_vmware_photon_os_/' /tmp/bootstrap-salt.sh
Setup
VirtualBox with PhotonOS 4
or
VirtualBox with PhotonOS 5
Please be as specific as possible and give set-up details.
- on-prem machine
- VM (Virtualbox 7.12)
- VM running on a cloud service, please be explicit and add details
- container (Kubernetes, Docker, containerd, etc. please specify)
- or a combination, please be explicit
- jails if it is FreeBSD
- classic packaging
- onedir packaging
- used bootstrap to install
Steps to Reproduce the behavior
- Install PhotonOS 4 or 5
- Download bootstrapsalt.sh (using https://raw.githubusercontent.com/saltstack/salt-bootstrap/refs/heads/develop/bootstrap-salt.sh)
- run bootstrap-salt.sh
This step fails.
Expected behavior
running bootstrap-salt.sh succeeds (and leaves a working minion).
Screenshots
* INFO: Running version: 2025.02.24
* INFO: Executed by: sh
* INFO: Command line: '/tmp/bootstrap-salt.sh '
* INFO: System Information:
* INFO: CPU: GenuineIntel
* INFO: CPU Arch: x86_64
* INFO: OS Name: Linux
* INFO: OS Version: 6.1.143-2.ph5
* INFO: Distribution: VMware Photon OS 5.0
* INFO: Installing minion
* INFO: Found function config_salt
* INFO: Found function preseed_master
* INFO: Found function daemons_running_onedir
* ERROR: No dependencies installation function found. Exiting...
Versions Report
(salt-minion is not installed yet, thus salt-master version is irrelevant)
Additional context
(none)
Metadata
Metadata
Assignees
Labels
No labels