Skip to content
Permalink
Browse files

Update Virtual Appliance.md

  • Loading branch information...
Cat5TV committed Jun 2, 2019
1 parent 08bc5c8 commit 45bac473ca48036713607523ed5c3012ffda403d
Showing with 1 addition and 1 deletion.
  1. +1 −1 notes/vm/Virtual Appliance.md
@@ -6,7 +6,7 @@
- Halt the machine
- Remove Optical drive and USB 2.0 controller
- Export to OVA using [OVF Tool](https://my.vmware.com/group/vmware/details?downloadGroup=OVFTOOL430&productId=742)
- `ovftool --noSSLVerify --shaAlgorithm=SHA1 "vi://root@10.0.0.3/NEMS Linux 1.5" NEMS.ova && mkdir ova-working && cd ova-working && tar -xf ../nems.ova && sed -i -E "/nvram/d" *.ovf && sed -i "/\.ovf/s/= .*/= $(sha1sum *.ovf |cut -d " " -f 1)/;/nvram/d" *.mf && rm -f *.nvram && tar -cf ../nems.ova * && cd .. && rm -rf ova-working`
- `ovftool --noSSLVerify --shaAlgorithm=SHA1 "vi://root@10.0.0.3/NEMS Linux 1.5" NEMS.ova && mkdir ova-working && cd ova-working && tar -xf ../NEMS.ova && sed -i -E "/nvram/d" *.ovf && sed -i "/\.ovf/s/= .*/= $(sha1sum *.ovf |cut -d " " -f 1)/;/nvram/d" *.mf && rm -f *.nvram && tar -cf ../NEMS.ova * && cd .. && rm -rf ova-working`
- VHD:
- Extract VMDK file from OVA.
- With VirtualBox installed, convert the VMDK file with the following command: `"c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" clonemedium --format vhd NEMS-disk1.vmdk NEMS.vhd`

0 comments on commit 45bac47

Please sign in to comment.
You can’t perform that action at this time.