aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/fetch-ubuntulive.sh
diff options
context:
space:
mode:
authorOle Mathias Heggem <olemathias.aa.heggem@gmail.com>2023-01-21 19:07:38 +0100
committerOle Mathias Heggem <olemathias.aa.heggem@gmail.com>2023-01-21 19:07:38 +0100
commit709c78569b26677624e60588fa1166dc659ac93c (patch)
tree2bd5555af31b637d03693b8563fb24b41bf1f22b /bootstrap/fetch-ubuntulive.sh
parentf5da0d943401e527f5162e9c6344deb65b19b045 (diff)
chore: cleanup repo
Diffstat (limited to 'bootstrap/fetch-ubuntulive.sh')
-rwxr-xr-xbootstrap/fetch-ubuntulive.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/bootstrap/fetch-ubuntulive.sh b/bootstrap/fetch-ubuntulive.sh
deleted file mode 100755
index 44d5d62..0000000
--- a/bootstrap/fetch-ubuntulive.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/bash
-INSTALLER_DEST=$1
-UBUNTU_MIRROR=http://no.releases.ubuntu.com/
-UBUNTU_VERSION=desktop
-UBUNTU_DIST="14.10"
-UBUNTU_ARCH="i386 amd64"
-TMP_MNT="/mnt/tmp"
-
-mkdir -p ${TMP_MNT}
-for DIST in ${UBUNTU_DIST}
-do
- for ARCH in ${UBUNTU_ARCH}
- do
- mkdir -p ${INSTALLER_DEST}/${UBUNTU_DIST}/${ARCH}
- wget ${UBUNTU_MIRROR}/${DIST}/ubuntu-${DIST}-${UBUNTU_VERSION}-${ARCH}.iso -O /tmp/ubuntu-${DIST}-${UBUNTU_VERSION}-${ARCH}.iso &&
- mount -o loop "/tmp/ubuntu-${DIST}-${UBUNTU_VERSION}-${ARCH}.iso" ${TMP_MNT}/ &&
- cp -Rv ${TMP_MNT}/* ${INSTALLER_DEST}/${DIST}/${ARCH}/ &&
- umount ${TMP_MNT}/
- done
- rmdir ${TMP_MNT}/
-done