-
Notifications
You must be signed in to change notification settings - Fork 3
/
ubuntu-impish
executable file
·37 lines (27 loc) · 1.22 KB
/
ubuntu-impish
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/sh
# A working btrfs mount point - any will do as long as root have write access
ZFS_ROOT=p0/subutai
# A folder which is used exclusively for this - can NOT exist and WILL
# be cleaned out when done!
ZFS_BUILD=build
# Set base
BASE=impish
REP=http://archive.ubuntu.com/ubuntu/
# Repos
REPOS=$(cat <<'END_HEREDOC'
deb http://us.archive.ubuntu.com/ubuntu/ impish main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ impish-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu impish-security main restricted universe multiverse
END_HEREDOC
)
# Extra base packages to be installed
EXTRA=openssh-server,openssh-client,iputils-ping,less,vim,python,python3
CMDS="[ -f /etc/systemd/system/multi-user.target.wants/systemd-resolved.service ] && rm /etc/systemd/system/multi-user.target.wants/systemd-resolved.service ; [ -f /etc/systemd/system/dbus-org.freedesktop.resolve1.service ] && rm /etc/systemd/system/dbus-org.freedesktop.resolve1.service ; rm /etc/resolv.conf ; touch /etc/resolv.conf"
# Install with full repos
#PKGS=vim
# Name of resulting template
NAME=ubuntu-impish
VERSION=$(git describe --abbrev=0 --tags)
OWNER=subutai
. ./build-template
# vim: ts=4 et nowrap autoindent