Skip to content

Instantly share code, notes, and snippets.

@ruzickap
Created July 16, 2017 07:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruzickap/711393f7fcf73b9ad760e1f0704e1c22 to your computer and use it in GitHub Desktop.
Save ruzickap/711393f7fcf73b9ad760e1f0704e1c22 to your computer and use it in GitHub Desktop.
Create PXE live files form Fedora 26 using lorax
# livemedia-creator --make-pxe-live --live-rootfs-keep-size --image-name=my_fedora_img --tmp=/var/tmp/a --ks fedora26-my.ks --iso=/home/ruzickap/data2/iso/Fedora-Workstation-netinst-x86_64-26-1.5.iso --resultdir=/var/tmp/a/result
/usr/lib64/python3.5/optparse.py:999: PendingDeprecationWarning: The KSOption class is deprecated and will be removed in pykickstart-3. Use the argparse module instead.
option = self.option_class(*args, **kwargs)
2017-07-16 08:12:28,922: disk_img = /var/tmp/a/result/my_fedora_img
2017-07-16 08:12:28,923: Using disk size of 6002MiB
2017-07-16 08:12:28,923: install_log = /var/tmp/lorax/virt-install.log
2017-07-16 08:12:29,161: qemu vnc=127.0.0.1:0
2017-07-16 08:12:29,161: Running qemu
2017-07-16 08:12:29,286: Processing logs from ('127.0.0.1', 52518)
2017-07-16 08:40:25,126: Installation finished without errors.
2017-07-16 08:40:25,127: Shutting down log processing
2017-07-16 08:40:25,129: unmounting the iso
2017-07-16 08:40:25,173: Disk Image install successful
2017-07-16 08:40:25,173: working dir is /var/tmp/a/lmc-work-9vn7o48e
2017-07-16 08:40:25,798: Partition mounted on /var/tmp/a/tmpfs0l52ph size=6291456000
2017-07-16 08:40:25,798: Creating live rootfs image
2017-07-16 08:41:15,402: Packing live rootfs image
2017-07-16 08:46:31,544: Rebuilding initramfs for live
2017-07-16 08:46:31,607: dracut args = ['--xz', '--add', 'livenet dmsquash-live convertfs pollcdrom qemu qemu-net', '--omit', 'plymouth', '--no-hostonly', '--debug', '--no-early-microcode']
2017-07-16 08:46:31,653: rebuilding initramfs-4.11.9-300.fc26.x86_64.img
2017-07-16 08:47:42,530: SUMMARY
2017-07-16 08:47:42,530: -------
2017-07-16 08:47:42,530: Logs are in /var/tmp/lorax
2017-07-16 08:47:42,531: Disk image is at /var/tmp/a/result/my_fedora_img
2017-07-16 08:47:42,531: Results are in /var/tmp/a/result
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment