From b236ac42f25c0d8c19d21703c2326c8e8e3f1e28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 13 Feb 2022 19:34:14 +0100 Subject: Remove bad strap-centos page --- StrapCentOS.wiki | 35 ----------------------------------- index.wiki | 1 - 2 files changed, 36 deletions(-) diff --git a/StrapCentOS.wiki b/StrapCentOS.wiki index d690c88..9322350 100644 --- a/StrapCentOS.wiki +++ b/StrapCentOS.wiki @@ -2,41 +2,6 @@ https://www.sidorenko.io/post/2016/07/creating-container-base-image-of-centos/ === packages === -- iproute :: ip -- iputils :: ping - -from host -{{{bash -docker pull centos:latest -docker run --mount type=bind,source=/,destination=/mnt -it centos:latest bash - -# this location doesn't seem to work -# but /run/systemd/nspawn/teams.nspawn does -cat - > /var/lib/machines/teams.nspawn << EOF -[Exec] -ResolvConf=copy-hist - -[Network] -Private=0 - -[Files] -Bind=/tmp/.X11-unix:/tmp/.X11-unix - -EOF -}}} - - -from docker -{{{bash -dest=/mnt/var/lib/machines/teams - -cd /tmp -yum reinstall --downloadonly --downloaddir . centos-release -rpm --root $dest -ivh --nodeps centos*.rpm - -cp -arv /etc/yum.repos.d $dest/etc -yum -y --installroot=$dest --setopt=override_install_langs=en_US.utf8 install $pkg -}}} host {{{bash diff --git a/index.wiki b/index.wiki index cd0e5a2..c852a70 100644 --- a/index.wiki +++ b/index.wiki @@ -62,7 +62,6 @@ - [[rv290]] - [[aur]] - [[aurbuilder]] -- [[StrapCentOS]] - [[debian-pkg]] ----- - Pedalmontering - [[test]] -- cgit v1.2.3