Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %pre
- cd /tmp
- rpm2cpio /run/install/repo/Packages/redhat-virtualization-host-image-update*|cpio -ivd
- squashfs=$(find / |grep -E 'redhat.+squashfs.img$')
- ln -s $squashfs /tmp/squashfs
- %end
- text
- lang en_US.UTF-8
- timezone America/New_York --isUtc
- keyboard --vckeymap=us --xlayouts='us'
- liveimg --url=file:///tmp/squashfs
- ignoredisk --only-use=vda
- autopart --type=thinp
- rootpw --iscrypted $6$asd123$3I7zmHvKJld58FuvPez0J3P9XBHibk2uhpvp6UKcN3pnABvNChn1pMGRUU9JcvFOa9wWNx/7GWSOXIGJW9Z8P0
- clearpart --all --initlabel
- network --bootproto=dhcp --device=eth0 --activate
- reboot
- eula --agreed
- %post --erroronfail
- imgbase layout --init
- %end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement