Removing stale CentOS files
This commit is contained in:
Submodule http/centos-stream deleted from 37e76497fe
Submodule http/centos-upstream deleted from f3ff06dd30
@@ -1,18 +0,0 @@
|
||||
%include /tmp/packer_ks/centos-stream/CentOS-8-Stream-x86_64-Vagrant.ks
|
||||
|
||||
url --mirrorlist=http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=BaseOS&infra=stock
|
||||
repo --name=AppStream --mirrorlist=http://mirrorlist.centos.org/?release=8-stream&arch=x86_64&repo=AppStream&infra=stock
|
||||
network --bootproto=dhcp --activate
|
||||
reboot
|
||||
|
||||
%pre --interpreter /bin/bash --log /tmp/greg
|
||||
set -ex
|
||||
# This allows us to support virtualbox
|
||||
mkdir /tmp/sr1
|
||||
mount /dev/sr1 /tmp/sr1
|
||||
cp -r /tmp/sr1/http /tmp/packer_ks
|
||||
|
||||
if [ ! -e /dev/vda ]; then
|
||||
sed -i -e 's/drives=vda/drives=sda/' -e 's/ondisk=vda/ondisk=sda/' /tmp/packer_ks/centos-stream/*
|
||||
fi
|
||||
%end
|
||||
@@ -1,17 +0,0 @@
|
||||
%include /tmp/packer_ks/centos-stream/CentOS-9-Stream-x86_64-Vagrant.ks
|
||||
|
||||
url --metalink=https://mirrors.centos.org/metalink?arch=x86_64&repo=centos-baseos-9-stream
|
||||
repo --name=AppStream --metalink=https://mirrors.centos.org/metalink?arch=x86_64&repo=centos-appstream-9-stream
|
||||
reboot
|
||||
|
||||
%pre --interpreter /bin/bash --log /tmp/greg
|
||||
set -ex
|
||||
# This allows us to support virtualbox
|
||||
mkdir /tmp/sr1
|
||||
mount /dev/sr1 /tmp/sr1
|
||||
cp -r /tmp/sr1/http /tmp/packer_ks
|
||||
|
||||
if [ ! -e /dev/vda ]; then
|
||||
sed -i -e 's/drives=vda/drives=sda/' -e 's/ondisk=vda/ondisk=sda/' /tmp/packer_ks/centos-stream/*
|
||||
fi
|
||||
%end
|
||||
Reference in New Issue
Block a user