Sign inSign up

msenturk/vmdebootstrap

By msenturk

Updated almost 5 years ago

Preloaded image with vmdebootstrap and qemu-system for use on systems other than Debian and Ubuntu.

Image
0

306

msenturk/vmdebootstrap repository overview

Usage:

_USER="${USER}"

sudo mkdir -p /mnt/base
sudo chown ${_USER}:${_USER} /mnt/base

docker run \
    -ti \
    --rm \
    --privileged \
    -v /mnt/base:/mnt \
    msenturk/vmdebootstrap:latest \
    vmdebootstrap \
    --distribution="buster" \
    --hostname debian-test \
    --root-password="top_secret" \
    --user="user/top_secret" \
    --image /mnt/bootable.qcow2 \
    --size 16GiB \
    --log="/mnt/bootstrap.log" \
    --sparse \
    --grub \
    --no-extlinux \
    --sudo \
    --convert-qcow2 \
    --enable-dhcp \
    --package openssh-server \
    --package curl \
    --verbose \
    --serial-console

Running VM:

qemu-system-x86_64 \
    -drive file=/mnt/base/bootable.qcow2,format=qcow2 \
    -nographic \
    -m 1G

Tag summary

Content type

Image

Digest

Size

648.6 MB

Last updated

almost 5 years ago

docker pull msenturk/vmdebootstrap