mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 16:12:13 +02:00
Experimental Joyent SmartOS Support
Testing using image: 088b97b0-e1a1-11e5-b895-9baa2086eb33
base-64-lts 15.4.1
Signed-off-by: Gregory L. Dietsche <Gregory.Dietsche@cuw.edu>
This commit is contained in:
@@ -122,6 +122,7 @@ DeterminePythonVersion() {
|
|||||||
{{ bootstrappers/gentoo_common.sh }}
|
{{ bootstrappers/gentoo_common.sh }}
|
||||||
{{ bootstrappers/free_bsd.sh }}
|
{{ bootstrappers/free_bsd.sh }}
|
||||||
{{ bootstrappers/mac.sh }}
|
{{ bootstrappers/mac.sh }}
|
||||||
|
{{ bootstrappers/smartos.sh }}
|
||||||
|
|
||||||
# Install required OS packages:
|
# Install required OS packages:
|
||||||
Bootstrap() {
|
Bootstrap() {
|
||||||
@@ -156,6 +157,8 @@ Bootstrap() {
|
|||||||
ExperimentalBootstrap "Mac OS X" BootstrapMac
|
ExperimentalBootstrap "Mac OS X" BootstrapMac
|
||||||
elif [ -f /etc/issue ] && grep -iq "Amazon Linux" /etc/issue ; then
|
elif [ -f /etc/issue ] && grep -iq "Amazon Linux" /etc/issue ; then
|
||||||
ExperimentalBootstrap "Amazon Linux" BootstrapRpmCommon
|
ExperimentalBootstrap "Amazon Linux" BootstrapRpmCommon
|
||||||
|
elif [ -f /etc/product ] && grep -q "Joyent Instance" /etc/product ; then
|
||||||
|
ExperimentalBootstrap "Joyent SmartOS Zone" BootstrapSmartOS
|
||||||
else
|
else
|
||||||
echo "Sorry, I don't know how to bootstrap Certbot on your operating system!"
|
echo "Sorry, I don't know how to bootstrap Certbot on your operating system!"
|
||||||
echo
|
echo
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
BootstrapSmartOS() {
|
||||||
|
pkgin update
|
||||||
|
pkgin -y install 'gcc49' 'py27-augeas' 'py27-virtualenv'
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user