aboutsummaryrefslogtreecommitdiff
path: root/StrapCentOS.wiki
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-02-23 17:09:41 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-02-23 17:09:41 +0100
commit377cc5c1d2e0d002cf53e1d23230ff2a19e8a7f3 (patch)
tree44e38f80124d3590bb32fd31601d87ead012d7b0 /StrapCentOS.wiki
parentons 23 feb 2022 17:09:36 CET (diff)
parentfre 18 feb 2022 19:34:12 CET (diff)
downloadwiki-public-377cc5c1d2e0d002cf53e1d23230ff2a19e8a7f3.tar.gz
wiki-public-377cc5c1d2e0d002cf53e1d23230ff2a19e8a7f3.tar.xz
Merge branch 'master' of git.hornquist.se:git/wiki-public
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 bcb7169..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-relesae
-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