Commit 6b4803d7 authored by Erwan BOUSSE's avatar Erwan BOUSSE
Browse files

Remove APT cache (too many problems)

parent f4e420fe
......@@ -14,7 +14,6 @@ This project relies on different artifacts and tools:
- The *Ubuntu Server* image is used for the installation because it provides a very useful *autoinstall* mode.
We simply have to provide the installer with a web server that provides a couple of configuration files, and the installation is fully automated.
- *Docker* and the `*mbentley/apt-cacher-ng*` docker image are used to set up an APT cache server used for the installation (in case the installation must be retried several times).
- *Qemu* is used to start the virtual machine where the installation takes places.
- *VirtualBox* is used to convert the obtained raw VM image into a proper VBox ova file.
......
......@@ -14,7 +14,6 @@ autoinstall:
- dkms
- linux-headers-generic
locale: fr_FR.UTF-8
proxy: http://_gateway:3142
early-commands:
# Mount VBox additions iso
- mkdir /mnt/vboxiso
......
......@@ -64,18 +64,6 @@ sudo mount -r ./$ISO_FOLDER/$ISO /mnt
stopgateway
startgateway
# Start an apt cache
docker rm -f apt-cacher-ng || true
mkdir -p ./apt-cacher-ng/cache
mkdir -p ./apt-cacher-ng/logs
docker run -d \
--name apt-cacher-ng \
-p 3142:3142 \
-e TZ="Europe/Paris" \
-v ./apt-cacher-ng/cache:/var/cache/apt-cacher-ng:z \
-v ./apt-cacher-ng/logs:/var/logs/apt-cacher-ng:z \
docker.io/mbentley/apt-cacher-ng
# Start the automated installation
# This will use the
qemu-kvm -no-reboot -m 1024 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment