Skip to content

eaksel/packer-Debian11

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packer-Debian11

What is packer-Debian11 ?

packer-Debian11 is a set of configuration files used to build an automated Debian 11 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 11 VM image using VMware Workstation use the following commands:

cd c:\packer-Debian11
packer build -only=vmware-iso debian11.json
packer build -only=vmware-iso debian11_uefi.json

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

cd c:\packer-Debian11
packer build -only=virtualbox-iso debian11.json
packer build -only=virtualbox-iso debian11_uefi.json

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

By default the .iso of Debian 11 is pulled from https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.0.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 debian9.json file.

{
  "variables": {
      "iso_url": "https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.0.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 11

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages