added appliance-creator script, createimage.sh
This commit is contained in:
parent
1b7cf0286d
commit
2cdf640357
2 changed files with 26 additions and 1 deletions
|
@ -1 +1,5 @@
|
|||
### Riscv kickstarts can be found in subsequent branches.
|
||||
### Kickstarts
|
||||
|
||||
Kickstart repo based on https://git.resf.org/sig_altarch/rockygenericaarch64
|
||||
|
||||
|
||||
|
|
21
createimage.sh
Normal file
21
createimage.sh
Normal file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
KSFILE=$1
|
||||
KSNAME=${KSFILE%.ks}
|
||||
|
||||
if [ ! -f "${KSFILE}" ]; then
|
||||
echo
|
||||
echo "SYNOPSIS"
|
||||
echo " $0 <KICKSTARTFILE>"
|
||||
echo
|
||||
echo "EXAMPLE"
|
||||
echo " $0 Rocky-Userland-9-aarch64-Generic-Minimal-4.ks"
|
||||
echo
|
||||
exit 1
|
||||
fi
|
||||
|
||||
set -x
|
||||
appliance-creator -c ${KSFILE} \
|
||||
-d -v --logfile /var/tmp/${KSNAME}.log \
|
||||
--cache /root/cache --no-compress \
|
||||
-o /var/tmp/appoutput --format raw --name ${KSNAME} | tee /var/tmp/${KSNAME}.log.2
|
||||
|
Loading…
Reference in a new issue