Skip to content

Instantly share code, notes, and snippets.

View DavidPage-BAH's full-sized avatar
🎯
Focusing

David DavidPage-BAH

🎯
Focusing
View GitHub Profile
@DavidPage-BAH
DavidPage-BAH / youtubedl-docker.Dockerfile
Created October 23, 2018 19:47
Download youtube video into mp3
FROM alpine:edge
MAINTAINER Serdar.Sarioglu@mysystem.org
RUN apk update
RUN apk add python bash git curl py-pip ffmpeg
RUN pip install --upgrade pip
RUN pip install --upgrade youtube-dl
RUN mkdir download
ENV youtube https://youtu.be/z5GTScs8Jos
@DavidPage-BAH
DavidPage-BAH / kvm-esxi.md
Last active October 16, 2018 15:51
kvm to esxi

Export image

$ sudo qemu-img convert -p -i DiskImage.img -O vmdk DiskImage.vmdk

Use vmkfstools to provision vmdk

$ vmkfstools -i /vmfs/volumes/nfs1/DiskImage.vmdk -d thin /vmfs/volumes/datastore1/MyServer/DiskImage.vmdk
@DavidPage-BAH
DavidPage-BAH / howToModifyOvaFile.md
Last active October 11, 2018 17:24 — forked from goodjob1114/howToModifyOvaFile.md
how to modify .ova file on linux/Mac using terminal....export vm (OVF 1.0) from virtualbox, then modify some tag and hash value for import vm to ESXi

extract ova files from an archive

$ tar -xvf vmName.ova

modify ovf for some invalid tag

$ vi vmName.ovf