Remove k8s from seed
This commit is contained in:
parent
f13f2502a7
commit
5068274017
2 changed files with 1 additions and 6 deletions
|
@ -89,17 +89,12 @@ d-i preseed/late_command string in-target /bin/sh -c " \
|
|||
update-alternatives --set arptables /usr/sbin/arptables-legacy ; \
|
||||
update-alternatives --set ebtables /usr/sbin/ebtables-legacy ; \
|
||||
( systemctl disable nftables && systemctl mask nftables ) ; \
|
||||
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - ; \
|
||||
curl -s https://download.docker.com/linux/debian/gpg | sudo apt-key add - ; \
|
||||
echo 'deb https://apt.kubernetes.io/ kubernetes-xenial main' >/etc/apt/sources.list.d/kubernetes.list ; \
|
||||
echo 'deb [arch=amd64] https://download.docker.com/linux/debian/ stretch stable' >/etc/apt/sources.list.d/docker.list ; \
|
||||
apt-get update ; \
|
||||
apt-get install -y \
|
||||
docker-ce docker-ce-cli containerd.io \
|
||||
kubelet kubeadm kubectl ; \
|
||||
apt-mark hold \
|
||||
docker-ce docker-ce-cli containerd.io \
|
||||
kubelet kubeadm kubectl ; \
|
||||
apt-get clean ; \
|
||||
systemctl enable serial-getty@ttyS0.service ; \
|
||||
systemctl enable docker.service \
|
||||
|
|
2
runme.sh
2
runme.sh
|
@ -4,7 +4,7 @@ apptmp='/dev/shm'
|
|||
vmsize='8G'
|
||||
vmmem='2G'
|
||||
k8sdsk="${apptmp}/k8s.raw"
|
||||
httpboot='http://ftp.debian.org/debian/dists/stretch/main/installer-amd64/current/images/netboot/debian-installer/amd64/'
|
||||
httpboot='http://ftp.debian.org/debian/dists/stretch/main/installer-amd64/current/images/netboot/debian-installer/amd64'
|
||||
seed='https://git.ix.gs/public/coins-demo/raw/branch/master/contrib/k8s-seed.txt'
|
||||
qemu="${appdir}/contrib/qemu-system-x86_64 -L ${appdir}/contrib/share/qemu -net nic -net user -m ${vmmem} -localtime -enable-kvm -cpu host,+nx -M pc -smp 2 -vga std -usbdevice tablet -k en-us -hda ${k8sdsk} -boot once=d -nographic"
|
||||
###
|
||||
|
|
Loading…
Reference in a new issue