allowing release to be configurable
This commit is contained in:
parent
b1d76a5171
commit
2fb3031783
|
@ -1,11 +1,7 @@
|
|||
#!/bin/bash
|
||||
set -Eeuxo pipefail
|
||||
|
||||
HOSTNAME=localhost
|
||||
RELEASE=unstable
|
||||
|
||||
TMP_DIR=${TMP_DIR:=$PWD}
|
||||
|
||||
MNT_DIR=$TMP_DIR/newroot
|
||||
INITRD_DIR=$TMP_DIR/initramfs
|
||||
RESULT_DIR=$TMP_DIR/files
|
||||
|
@ -14,7 +10,9 @@ RESULT_DIR=$TMP_DIR/files
|
|||
[[ -d $INITRD_DIR ]] || mkdir -p $INITRD_DIR
|
||||
[[ -d $RESULT_DIR ]] || mkdir -p $RESULT_DIR
|
||||
|
||||
HOSTNAME=localhost
|
||||
# Configs overwritable via environment variables
|
||||
RELEASE=${RELEASE:=unstable}
|
||||
FLAVOUR=${FLAVOUR:=debian} # Either 'debian' or 'ubuntu'
|
||||
INCLUDES=${INCLUDES:="openssh-server,init,curl,parted,xz-utils,vim,locales-all,less,ceph-common,dmidecode,iputils-ping,fping,tcpdump,rsync,ethtool,lldpd,iproute2,net-tools,sudo,gnupg,tcpdump,mtr-tiny,ifupdown,ipmitool,iptables,telnet,netcat,bridge-utils,vlan,ifstat,ncurses-term,wget,dhcpcd5"}
|
||||
MIRROR=${MIRROR:="https://mirrors.wit.com/debian"}
|
||||
|
|
Loading…
Reference in New Issue