Use tabulations instead of white spaces.
This commit is contained in:
parent
d474e5cf27
commit
2fcb7e5560
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# This script do the following:
|
# This script do the following:
|
||||||
# Download last Ubuntu LTS (14.04)
|
# Download last Ubuntu LTS (14.04)
|
||||||
# Download Ubuntu 13.10
|
# Download Ubuntu 13.10
|
||||||
|
|
||||||
TFTP_ROOT="/var/lib/tftpboot"
|
TFTP_ROOT="/var/lib/tftpboot"
|
||||||
|
|
||||||
|
@ -10,13 +10,13 @@ TFTP_ROOT="/var/lib/tftpboot"
|
||||||
LTS="trusty"
|
LTS="trusty"
|
||||||
|
|
||||||
for DISTRO in saucy ${LTS}; do
|
for DISTRO in saucy ${LTS}; do
|
||||||
for ARCH in amd64 i386; do
|
for ARCH in amd64 i386; do
|
||||||
mkdir -p ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH}
|
mkdir -p ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH}
|
||||||
pushd ${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}/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
|
wget http://fr.archive.ubuntu.com/ubuntu/dists/${DISTRO}/main/installer-${ARCH}/current/images/netboot/ubuntu-installer/${ARCH}/initrd.gz -O initrd.gz
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
# Link the LTS distribution name to lts
|
# Link the LTS distribution name to lts
|
||||||
|
|
Loading…
Reference in New Issue