-
Notifications
You must be signed in to change notification settings - Fork 4
/
r9.log
29 lines (29 loc) · 1.08 KB
/
r9.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# create the ramdisk for the OS image construction
# it is a physcal device )
bash -c "if [ `grep -q /mnt/root /proc/mounts ` ]; then rm -rf /mnt/root ; fi"
rm -f /mnt/root/nyble_snap.tar*
echo TARGET = /mnt/root
TARGET = /mnt/root
mkdir -p /mnt/root
touch /mnt/nyble_snap.tar
mount -o size=32g -t tmpfs none /mnt/root
touch ramdisk_build_1
# base
mkdir -p /mnt/root/etc/yum.repos.d/
mkdir -p /mnt/root/etc/yum/vars/
echo "8" > /mnt/root/etc/yum/vars/releasever
echo "x86_64" > /mnt/root/etc/yum/vars/basearch
echo "nameserver 1.1.1.1" > /mnt/root/etc/resolv.conf
yum -y -c OS/rocky9/Nyble-Bootstrap.repo --disablerepo=* \
--enablerepo=nyble-bootstrap-base \
--enablerepo=nyble-bootstrap-appstream \
--enablerepo=nyble-bootstrap-highavailability \
--enablerepo=nyble-bootstrap-powertools \
--enablerepo=nyble-bootstrap-centosplus \
--enablerepo=nyble-bootstrap-extras \
--disableplugin=* \
--installroot=/mnt/root \
install bash bash-completion vim-minimal iproute \
iputils rootfiles sudo rpm nano dnf dracut
/bin/sh: 1: yum: not found
make: *** [OS/rocky9/base.conf:13: osinst_base] Error 127