diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-01-06 18:32:03 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-01-06 18:32:03 +0200 |
commit | 403ee80082a37ae6c155afb66c34a716b03e0362 (patch) | |
tree | 7e638a0a186968d9cf0a57a886e6dce7c2a576b9 /x220.sh | |
parent | 7f277a34aec1fef97016b64b959f2e8c06f31850 (diff) | |
download | v-i-403ee80082a37ae6c155afb66c34a716b03e0362.tar.gz |
drop old stuff
Diffstat (limited to 'x220.sh')
-rwxr-xr-x | x220.sh | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/x220.sh b/x220.sh deleted file mode 100755 index dcb322d..0000000 --- a/x220.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -set -euo pipefail - -vi="$1" -vmdb2="$2" - -gitget() { - local url="$1" - local branch="$2" - local dir="$3" - echo "get $url ($branch)" - if [ ! -e "$dir" ]; then - git clone -b "$branch" "$url" - else - (cd "$dir" && git checkout "$branch" && git pull) - fi -} - -git config --global pull.ff only -gitget git://git.liw.fi/v-i "$vi" v-i -gitget git://git.liw.fi/vmdb2 "$vmdb2" vmdb2 -gitget git://git.liw.fi/ansibleness main ansibleness -gitget git://git.liw.fi/debian-ansible main debian-ansible - -cd v-i -export ANSIBLE_LOG=/root/ansible.log -export ANSIBLE_ROLES_PATH=/root/debian-ansible/roles:/root/ansibleness/ansible/roles - -rm -f /root/x220.log -/root/vmdb2/vmdb2 \ - --verbose \ - --rootfs-tarball /root/rootfs.tar.gz \ - --log /root/x220.log \ - --image /dev/sda \ - x220.vmdb |