Erriez / packer-Debian10

Packer configuration files for Debian 10

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

packer-Debian10

What is packer-Debian10 ?

packer-Debian10 is a set of configuration files used to build an automated Debian 10 virtual machine images using Packer. This Packer configuration file allows you to build images for VMware Workstation and Oracle VM VirtualBox.

Prerequisites

How to use Packer

Commands to create an automated VM image:

To create a Debian 10 VM image using VMware Workstation use the following commands:

cd c:\packer-Debian10
packer build -only=vmware-iso debian10.json

To create a Debian 10 VM image using Oracle VM VirtualBox use the following commands:

cd c:\packer-Debian10
packer build -only=virtualbox-iso debian10.json

If you omit the keyword "-only=" both the Workstation and Virtualbox VMs will be created.

By default the .iso of Debian 10 is pulled from https://cdimage.debian.org/mirror/cdimage/archive/10.10.0/amd64/iso-cd/debian-10.10.0-amd64-netinst.iso

You can change the URL to one closer to your build server. To do so change the "iso_url" parameter in the "variables" section of the debian10.json file.

{
  "variables": {
      "iso_url": "https://cdimage.debian.org/mirror/cdimage/archive/10.10.0/amd64/iso-cd/debian-10.10.0-amd64-netinst.iso"
  }
}

Default credentials

The default credentials for this VM image are:

Username Password
packer packer
root packer

About

Packer configuration files for Debian 10

License:MIT License


Languages

Language:Shell 100.0%