Use tabulations instead of white spaces.

This commit is contained in:
Jeremy Gardais 2016-07-04 17:05:17 +02:00
parent d474e5cf27
commit 2fcb7e5560
1 changed files with 9 additions and 9 deletions

View File

@ -1,8 +1,8 @@
#!/bin/bash
# This script do the following:
# Download last Ubuntu LTS (14.04)
# Download Ubuntu 13.10
# Download last Ubuntu LTS (14.04)
# Download Ubuntu 13.10
TFTP_ROOT="/var/lib/tftpboot"
@ -10,13 +10,13 @@ TFTP_ROOT="/var/lib/tftpboot"
LTS="trusty"
for DISTRO in saucy ${LTS}; do
for ARCH in amd64 i386; do
mkdir -p ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH}
pushd ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH}
wget http://fr.archive.ubuntu.com/ubuntu/dists/${DISTRO}/main/installer-${ARCH}/current/images/netboot/ubuntu-installer/${ARCH}/linux -O linux
wget http://fr.archive.ubuntu.com/ubuntu/dists/${DISTRO}/main/installer-${ARCH}/current/images/netboot/ubuntu-installer/${ARCH}/initrd.gz -O initrd.gz
popd
done
for ARCH in amd64 i386; do
mkdir -p ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH}
pushd ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH}
wget http://fr.archive.ubuntu.com/ubuntu/dists/${DISTRO}/main/installer-${ARCH}/current/images/netboot/ubuntu-installer/${ARCH}/linux -O linux
wget http://fr.archive.ubuntu.com/ubuntu/dists/${DISTRO}/main/installer-${ARCH}/current/images/netboot/ubuntu-installer/${ARCH}/initrd.gz -O initrd.gz
popd
done
done
# Link the LTS distribution name to lts