aboutsummaryrefslogtreecommitdiff
path: root/StrapCentOS.wiki
diff options
context:
space:
mode:
Diffstat (limited to 'StrapCentOS.wiki')
-rw-r--r--StrapCentOS.wiki35
1 files changed, 0 insertions, 35 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