Created
January 3, 2019 10:16
-
-
Save praveenkumar/ee922ef35fda2d08cc67fa5221ccb801 to your computer and use it in GitHub Desktop.
hyperkit experiment with installer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ✔ ~/work/experiment/installer/hyperkit | |
| 15:45 $ cat variable_master.sh | |
| KERNEL="vmlinuz-3.10.0-957.1.3.el7.x86_64" | |
| INITRD="initramfs-3.10.0-957.1.3.el7.x86_64.img" | |
| CMDLINE="earlyprintk=serial no_timer_check console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 rd.neednet=1 rw ip=eth0:dhcp root=UUID=63655f17-7992-4f8e-8274-4aad9f7cf742 ostree=/ostree/boot.0/redhat-coreos-maipo/9fcb48b03da0af562c7aba4ba023171ea41049fac0d63cbf6b72a8747ba78c0e/0" | |
| PID="-F master.pid" | |
| UUID="-U 63655f17-7992-4f8e-8274-4aad9f7cf742" | |
| MEM="-m 4G" | |
| CPU="-c 2" | |
| PCI_DEV="-s 0:0,hostbridge -s 31,lpc" | |
| NET="-s 1:0,virtio-net" | |
| IMG_HDD="-s 2:0,virtio-blk,file:///Users/prkumar/work/experiment/installer/hyperkit/test1-master-0,format=qcow" | |
| RND="-s 4,virtio-rnd -l com1,autopty=tty,log=console-ring" | |
| LPC_DEV="-l com1,stdio" | |
| ACPI="-A" | |
| ✔ ~/work/experiment/installer/hyperkit | |
| 15:45 $ cat variable_worker.sh | |
| KERNEL="vmlinuz-3.10.0-957.1.3.el7.x86_64" | |
| INITRD="initramfs-3.10.0-957.1.3.el7.x86_64.img" | |
| PID="-F worker.pid" | |
| CMDLINE="earlyprintk=serial no_timer_check console=tty0 console=ttyS0,115200n8 net.ifnames=0 biosdevname=0 rd.neednet=1 rw ip=eth0:dhcp root=UUID=63655f17-7992-4f8e-8274-4aad9f7cf742 ostree=/ostree/boot.0/redhat-coreos-maipo/9fcb48b03da0af562c7aba4ba023171ea41049fac0d63cbf6b72a8747ba78c0e/0" | |
| UUID="-U 63655f17-7992-4f8e-8274-4aad9f7cf743" | |
| MEM="-m 2G" | |
| CPU="-c 2" | |
| PCI_DEV="-s 0:0,hostbridge -s 31,lpc" | |
| NET="-s 1:0,virtio-net" | |
| IMG_HDD="-s 2:0,virtio-blk,file:///Users/prkumar/work/experiment/installer/hyperkit/test1-worker-0-98nsr,format=qcow" | |
| RND="-s 4,virtio-rnd -l com1,autopty=tty,log=console-ring" | |
| LPC_DEV="-l com1,stdio" | |
| ACPI="-A" | |
| ✔ ~/work/experiment/installer/hyperkit | |
| 15:45 $ sudo hyperkit $UUID $PID $ACPI $MEM $CPU $PCI_DEV $LPC_DEV $NET $IMG_CD $IMG_HDD -f kexec,$KERNEL,$INITRD,"$CMDLINE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment