Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes that the script runs with Ubuntu 18.04 on Ubuntu 16.04 #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ if [[ -d $INSTALL_DIR ]]; then
fi

debootstrap --components=main --arch=$ARCH \
--include=apt-transport-https,ca-certificates,curl,dbus,gettext-base,less,man-db,openssh-server,sudo,wget,vim \
--include=ca-certificates,curl,dbus,gettext-base,less,man-db,openssh-server,sudo,wget,vim \
$RELEASE $INSTALL_DIR $MIRROR
echo "==> Done!"

Expand Down Expand Up @@ -225,7 +225,7 @@ chroot $INSTALL_DIR apt-get -qq update
chroot $INSTALL_DIR apt-get -qq upgrade

echo "==> Installing additional packages"
chroot $INSTALL_DIR apt-get -qq install --no-install-recommends python-software-properties software-properties-common
chroot $INSTALL_DIR apt-get -qq install --no-install-recommends software-properties-common

# Get release version via os-release
# shellcheck source=/dev/null
Expand Down Expand Up @@ -299,6 +299,7 @@ rm -rf $INSTALL_DIR/etc/resolvconf/resolv.conf.d/tail
rm -rf $INSTALL_DIR/etc/resolvconf/resolv.conf.d/original

echo "==> Adding getty service on ttyS0 for 'vmadm console' command"
mkdir -p $INSTALL_DIR/etc/init
cat << TTYS0 > $INSTALL_DIR/etc/init/ttyS0.conf
# ttyS0 - getty
#
Expand Down