getting ready to test

This commit is contained in:
Jeffrey Paul 2019-10-04 05:44:29 -07:00
parent 7ee2448934
commit f23a098555
9 changed files with 60 additions and 99 deletions

View File

@ -1,30 +0,0 @@
#!/bin/bash
PKGS="
bash-completion
build-essential
byobu
command-not-found
cryptsetup-bin
daemontools
golang-go
iptables-persistent
iptraf-ng
jq
less
lsof
mosh
ntp
pbzip2
pv
runit
runit-systemd
socat
vim
wget
"
export DEBIAN_FRONTEND=noninteractive
sudo apt update
sudo apt install -y $PKGS

View File

@ -1,36 +1,13 @@
PKGS="
apt-transport-https
byobu
ca-certificates
cryptsetup-bin
curl
dirmngr
dnsutils
gnupg-agent
gnupg2
haveged
inetutils-ping
jq
lsof
man-db
mosh
nmap
opensc
pcscd
pinentry-curses
pv
rsync
runit
runit-systemd
scdaemon
screen
software-properties-common
usbmount
vim
wget
"
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
PKGS="$(cat $DIR/packages.txt)"
export DEBIAN_FRONTEND=noninteractive
apt update
apt upgrade -y
apt install -y $PKGS
for PKG in $PKGS ; do
apt install -y $PKG
done

View File

@ -1,20 +0,0 @@
export DEBIAN_FRONTEND=noninteractive
apt update
apt install -y git
export HOME=/root
git clone https://github.com/creationix/nvm.git /root/.nvm
cat >> /root/.bashrc <<'EOF'
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
EOF
source /root/.bashrc
nvm install 10
nvm use 10
npm install -g npm@latest
npm install -g yarn

View File

@ -1,12 +0,0 @@
export NVM_DIR="$HOME/.nvm"
source "$NVM_DIR/nvm.sh"
nvm use 8
# @next as of 14 nov 2018
VERSION="5cd9d6be4f05831f76a12cc833e1fbd5b6e143cd"
unzip -d /var/lib/signoffline /boot/signoffline.zip
cd /var/lib/signoffline
git checkout $VERSION
yarn install

View File

@ -1,5 +0,0 @@
/sbin/dphys-swapfile swapoff
/sbin/dphys-swapfile uninstall
apt purge -y dphys-swapfile
swapoff -a
rm /var/swap

View File

@ -0,0 +1,40 @@
apt-transport-https
bash-completion
build-essential
byobu
ca-certificates
command-not-found
cryptsetup-bin
curl
daemontools
dirmngr
dnsutils
gnupg-agent
gnupg2
golang-go
haveged
inetutils-ping
iptables-persistent
iptraf-ng
jq
less
lsof
man-db
mosh
nmap
ntp
opensc
pbzip2
pcscd
pinentry-curses
pv
rsync
runit
runit-systemd
scdaemon
screen
socat
software-properties-common
usbmount
vim
wget

View File

@ -0,0 +1 @@
REGDOMAIN=US

View File

@ -0,0 +1,10 @@
# KEYBOARD CONFIGURATION FILE
# Consult the keyboard(5) manual page.
XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""
BACKSPACE="guess"