mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Added tornado for Photon 4 git, and systemd for Photon 5
This commit is contained in:
parent
1ca3e432ae
commit
a79bffeb20
2 changed files with 4 additions and 6 deletions
|
@ -6593,13 +6593,11 @@ install_photon_git_deps() {
|
|||
## DGM __PACKAGES="python${PY_PKG_VER}-devel python${PY_PKG_VER}-pip python${PY_PKG_VER}-setuptools gcc glibc-devel linux-devel.x86_64"
|
||||
__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}"
|
||||
|
||||
## DGM tornado appears to be missing in 3006.x pkg requirements
|
||||
## DGM __PACKAGES="${__PACKAGES} python${PY_PKG_VER}-tornado"
|
||||
|
||||
## DGM Photon 5 container is missing systemd on default installation
|
||||
if [ "${DISTRO_MAJOR_VERSION}" -ge 5 ]; then
|
||||
# Photon 5 container is missing systemd on default installation
|
||||
__PACKAGES="${__PACKAGES} systemd"
|
||||
if [ "${DISTRO_MAJOR_VERSION}" -lt 5 ]; then
|
||||
## DGM tornado appears to be missing in 3006.x pkg requirements
|
||||
__PACKAGES="${__PACKAGES} python${PY_PKG_VER}-tornado"
|
||||
fi
|
||||
|
||||
# shellcheck disable=SC2086
|
||||
|
|
|
@ -148,7 +148,7 @@ platforms:
|
|||
driver:
|
||||
image: photon:5.0
|
||||
provision_command:
|
||||
- tdnf -y install rpm procps-ng coreutils gawk
|
||||
- tdnf -y install rpm procps-ng coreutils gawk systemd
|
||||
- echo "PubkeyAcceptedKeyTypes +ssh-rsa" | tee -a /etc/ssh/sshd_config
|
||||
- sed -ie 's/PermitRootLogin no/PermitRootLogin yes/' /etc/ssh/sshd_config
|
||||
- systemctl enable sshd.service
|
||||
|
|
Loading…
Add table
Reference in a new issue