freenas4n00b
Explorer
- Joined
- Dec 23, 2013
- Messages
- 52
I am trying to following the guides on the GH https://github.com/pr1ntf/iohyve
Running into a bunch of stalls
# my zfs pool is called DATASTORE yours will probably be different
I ran setup and the utility created all the sub folders
iohyve setup pool=DATASTORE
Next i created the VM
iohyve create ubuntuguest 20G DATASTORE
At this point you should see
[root@freenas] ~# zfs list | grep -i iohyve
DATASTORE/iohyve 20.6G 5.43T 192K /mnt/iohyve
DATASTORE/iohyve/Firmware 192K 5.43T 192K /mnt/iohyve/Firmware
DATASTORE/iohyve/ISO 192K 5.43T 192K /mnt/iohyve/ISO
DATASTORE/iohyve/ubuntuguest 20.6G 5.43T 192K /mnt/iohyve/ubuntuguest
DATASTORE/iohyve/ubuntuguest/disk0 20.6G 5.45T 128K -
Set some variables and config options
[root@freenas] ~# iohyve set ubuntuguest loader=grub-bhyve
Setting ubuntuguest prop loader=grub-bhyve...
[root@freenas] ~# iohyve set ubuntuguest os=debian
Setting ubuntuguest prop os=debian...
[root@freenas] ~# iohyve set ubuntuguest ram=512M
Setting ubuntuguest prop ram=512M...
[root@freenas] ~# iohyve set ubuntuguest cpu=2
Setting ubuntuguest prop cpu=2...
[root@freenas] ~# iohyve set ubuntuguest con=nmdm1
Setting ubuntuguest prop con=nmdm1...
At this point documentation is telling me to install so i moved the ubuntu ISO to DATASTORE/iohyve/ISO
cp ubuntu-14.04.4-server-amd64.iso /mnt/iohyve/ISO/
Then run the install command
iohyve install ubuntuguest ubuntu-14.04.3-server-amd64.iso
But it will not install
[root@freenas] ~# iohyve install ubuntuguest ubuntu-14.04.4-server-amd64.iso
Not a valid guest name
I am looking at the install script at https://github.com/pr1ntf/iohyve/blob/master/iohyve
It looks quite buggy. It assume /iohyve dir which no where is that installed
"if [ -d /iohyve/$pool/$name ] || [ -d /iohyve/$name ]; then"
So i am stuck right here and pondering the next steps to get this working
Just wanted to share and maybe brainstorm with those who are interested in testing this
Running into a bunch of stalls
# my zfs pool is called DATASTORE yours will probably be different
I ran setup and the utility created all the sub folders
iohyve setup pool=DATASTORE
Next i created the VM
iohyve create ubuntuguest 20G DATASTORE
At this point you should see
[root@freenas] ~# zfs list | grep -i iohyve
DATASTORE/iohyve 20.6G 5.43T 192K /mnt/iohyve
DATASTORE/iohyve/Firmware 192K 5.43T 192K /mnt/iohyve/Firmware
DATASTORE/iohyve/ISO 192K 5.43T 192K /mnt/iohyve/ISO
DATASTORE/iohyve/ubuntuguest 20.6G 5.43T 192K /mnt/iohyve/ubuntuguest
DATASTORE/iohyve/ubuntuguest/disk0 20.6G 5.45T 128K -
Set some variables and config options
[root@freenas] ~# iohyve set ubuntuguest loader=grub-bhyve
Setting ubuntuguest prop loader=grub-bhyve...
[root@freenas] ~# iohyve set ubuntuguest os=debian
Setting ubuntuguest prop os=debian...
[root@freenas] ~# iohyve set ubuntuguest ram=512M
Setting ubuntuguest prop ram=512M...
[root@freenas] ~# iohyve set ubuntuguest cpu=2
Setting ubuntuguest prop cpu=2...
[root@freenas] ~# iohyve set ubuntuguest con=nmdm1
Setting ubuntuguest prop con=nmdm1...
At this point documentation is telling me to install so i moved the ubuntu ISO to DATASTORE/iohyve/ISO
cp ubuntu-14.04.4-server-amd64.iso /mnt/iohyve/ISO/
Then run the install command
iohyve install ubuntuguest ubuntu-14.04.3-server-amd64.iso
But it will not install
[root@freenas] ~# iohyve install ubuntuguest ubuntu-14.04.4-server-amd64.iso
Not a valid guest name
I am looking at the install script at https://github.com/pr1ntf/iohyve/blob/master/iohyve
It looks quite buggy. It assume /iohyve dir which no where is that installed
"if [ -d /iohyve/$pool/$name ] || [ -d /iohyve/$name ]; then"
So i am stuck right here and pondering the next steps to get this working
Just wanted to share and maybe brainstorm with those who are interested in testing this