add openssh server && enable bubble
This commit is contained in:
@@ -31,7 +31,7 @@ alpine-make-vm-image \
|
|||||||
--fs-skel-dir "$OVERLAY_DIR" \
|
--fs-skel-dir "$OVERLAY_DIR" \
|
||||||
--fs-skel-chown root:root \
|
--fs-skel-chown root:root \
|
||||||
--script-chroot \
|
--script-chroot \
|
||||||
--packages "git curl docker cronie" \
|
--packages "git curl docker cronie openssh" \
|
||||||
"$IMAGE_FILE" \
|
"$IMAGE_FILE" \
|
||||||
"$CONFIGURE_SH" | tee $TMP
|
"$CONFIGURE_SH" | tee $TMP
|
||||||
|
|
||||||
|
|||||||
@@ -32,6 +32,9 @@ rc-update add net.eth0 default
|
|||||||
rc-update add acpid default
|
rc-update add acpid default
|
||||||
rc-update add docker default
|
rc-update add docker default
|
||||||
rc-update add cronie default
|
rc-update add cronie default
|
||||||
|
rc-update add sshd
|
||||||
|
rc-update add auth-server
|
||||||
|
rc-update add bubble
|
||||||
|
|
||||||
step 'Adjust syslog'
|
step 'Adjust syslog'
|
||||||
sed -i 's/^SYSLOGD_OPTS="\(.*\)"/SYSLOGD_OPTS="\1 -K"/' /etc/conf.d/syslog
|
sed -i 's/^SYSLOGD_OPTS="\(.*\)"/SYSLOGD_OPTS="\1 -K"/' /etc/conf.d/syslog
|
||||||
|
|||||||
Reference in New Issue
Block a user