switch to hybrid

This commit is contained in:
aptalca
2022-07-27 11:04:46 -04:00
parent 3b7f0e4ade
commit 5c4a59c60e
16 changed files with 62 additions and 0 deletions
@@ -0,0 +1,15 @@
#!/usr/bin/with-contenv bash
echo "*** AWSCLI Installer ***"
echo "Checking if awscli is installed"
if ! aws -v COMMAND &> /dev/null; then
echo "**** awscli not installed, adding to packages to be installed ****"
echo "awscli" >> /mod-pip-packages-to-install.list
if ! pip3 -v COMMAND &> /dev/null; then
echo "*** Pip not installed, adding to packages to be installed ****"
echo "python3 python3-pip" >> /mod-repo-packages-to-install.list
fi
else
echo "awscli already installed, skipping!"
fi
@@ -0,0 +1 @@
oneshot
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-mod-awscli-add-package/run