diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-02-13 19:34:14 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-02-13 19:34:14 +0100 |
commit | b236ac42f25c0d8c19d21703c2326c8e8e3f1e28 (patch) | |
tree | 026ba7bc47e6413a1d32c2004ae156365138c8d8 /StrapCentOS.wiki | |
parent | sön 13 feb 2022 19:32:46 CET (diff) | |
download | wiki-public-b236ac42f25c0d8c19d21703c2326c8e8e3f1e28.tar.gz wiki-public-b236ac42f25c0d8c19d21703c2326c8e8e3f1e28.tar.xz |
Remove bad strap-centos page
Diffstat (limited to 'StrapCentOS.wiki')
-rw-r--r-- | StrapCentOS.wiki | 35 |
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 |