Skip to content

Instantly share code, notes, and snippets.

@DarrenF-G

DarrenF-G/ubuntu Secret

Last active September 21, 2020 20:06
Show Gist options
  • Save DarrenF-G/0b931613860185e43662db2dcaec8f5c to your computer and use it in GitHub Desktop.
Save DarrenF-G/0b931613860185e43662db2dcaec8f5c to your computer and use it in GitHub Desktop.
2020/09/21 20:24:15 [INFO] Packer version: 1.6.2 [go1.13.15 windows amd64]
2020/09/21 20:24:15 Checking 'PACKER_CONFIG' for a config file path
2020/09/21 20:24:15 'PACKER_CONFIG' not set; checking the default config file path
2020/09/21 20:24:15 Attempting to open config file: C:\Users\ \AppData\Roaming\packer.config
2020/09/21 20:24:15 [WARN] Config file doesn't exist: C:\Users\ \AppData\Roaming\packer.config
2020/09/21 20:24:15 Setting cache directory: C:\Users\ \git\ \packer\packer_cache
cannot determine if process is in background: Process background check error: not implemented yet
2020/09/21 20:24:15 Creating plugin client for path: C:\Users\ \git\ \packer\packer.exe
2020/09/21 20:24:15 Starting plugin: C:\Users\ \git\ \packer\packer.exe []string{"C:\\Users\\ \\git\\ \\packer\\packer.exe", "plugin", "packer-builder-vsphere-iso"}
2020/09/21 20:24:15 Waiting for RPC address for: C:\Users\ \git\ \packer\packer.exe
2020/09/21 20:24:15 packer.exe plugin: [INFO] Packer version: 1.6.2 [go1.13.15 windows amd64]
2020/09/21 20:24:15 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/09/21 20:24:15 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/09/21 20:24:15 packer.exe plugin: Attempting to open config file: C:\Users\ \AppData\Roaming\packer.config
2020/09/21 20:24:15 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\ \AppData\Roaming\packer.config
2020/09/21 20:24:15 packer.exe plugin: Setting cache directory: C:\Users\ \git\ \packer\packer_cache
2020/09/21 20:24:15 packer.exe plugin: args: []string{"packer-builder-vsphere-iso"}
2020/09/21 20:24:15 packer.exe plugin: Plugin port range: [10000,25000]
2020/09/21 20:24:15 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/09/21 20:24:15 packer.exe plugin: Waiting for connection...
2020/09/21 20:24:15 Received tcp RPC address for C:\Users\ \git\ \packer\packer.exe: addr is 127.0.0.1:10000
2020/09/21 20:24:15 packer.exe plugin: Serving a plugin connection...
2020/09/21 20:24:15 Creating plugin client for path: C:\Users\ \git\ \packer\packer.exe
2020/09/21 20:24:15 Starting plugin: C:\Users\ \git\ \packer\packer.exe []string{"C:\\Users\\ \\git\\ \\packer\\packer.exe", "plugin", "packer-provisioner-shell"}
2020/09/21 20:24:15 Waiting for RPC address for: C:\Users\ \git\ \packer\packer.exe
2020/09/21 20:24:15 packer.exe plugin: [INFO] Packer version: 1.6.2 [go1.13.15 windows amd64]
2020/09/21 20:24:15 packer.exe plugin: Checking 'PACKER_CONFIG' for a config file path
2020/09/21 20:24:15 packer.exe plugin: 'PACKER_CONFIG' not set; checking the default config file path
2020/09/21 20:24:15 packer.exe plugin: Attempting to open config file: C:\Users\ \AppData\Roaming\packer.config
2020/09/21 20:24:15 packer.exe plugin: [WARN] Config file doesn't exist: C:\Users\ \AppData\Roaming\packer.config
2020/09/21 20:24:15 packer.exe plugin: Setting cache directory: C:\Users\ \git\ \packer\packer_cache
2020/09/21 20:24:15 packer.exe plugin: args: []string{"packer-provisioner-shell"}
2020/09/21 20:24:15 packer.exe plugin: Plugin port range: [10000,25000]
2020/09/21 20:24:15 packer.exe plugin: Plugin address: tcp 127.0.0.1:10000
2020/09/21 20:24:15 packer.exe plugin: Waiting for connection...
2020/09/21 20:24:15 Received tcp RPC address for C:\Users\ \git\ \packer\packer.exe: addr is 127.0.0.1:10000
2020/09/21 20:24:15 packer.exe plugin: Serving a plugin connection...
2020/09/21 20:24:15 Preparing build: vsphere-iso
2020/09/21 20:24:15 ui: vsphere-iso: output will be in this color.
2020/09/21 20:24:15 ui:
2020/09/21 20:24:15 Build debug mode: false
2020/09/21 20:24:15 Force build: true
2020/09/21 20:24:15 On error:
2020/09/21 20:24:15 Waiting on builds to complete...
2020/09/21 20:24:15 Starting build run: vsphere-iso
2020/09/21 20:24:15 Running builder: vsphere-iso
2020/09/21 20:24:15 [INFO] (telemetry) Starting builder vsphere-iso
2020/09/21 20:24:15 ui: ==> vsphere-iso: Retrieving ISO
2020/09/21 20:24:15 ui: ==> vsphere-iso: Trying http://releases.ubuntu.com/18.04.5/ubuntu-18.04.5-desktop-amd64.iso
2020/09/21 20:24:15 packer.exe plugin: Acquiring lock for: http://releases.ubuntu.com/18.04.5/ubuntu-18.04.5-desktop-amd64.iso?checksum=sha256%3Af295570badb09a606d97ddfc3421d7bf210b4a81c07ba81e9c040eda6ddea6a0 (C:\Users\ \git\ \packer\packer_cache\a9e6afb56387f189d0c6f6665708a1d53e2d8fd6.iso.lock)
2020/09/21 20:24:15 ui: ==> vsphere-iso: Trying http://releases.ubuntu.com/18.04.5/ubuntu-18.04.5-desktop-amd64.iso?checksum=sha256%3Af295570badb09a606d97ddfc3421d7bf210b4a81c07ba81e9c040eda6ddea6a0
2020/09/21 20:24:21 ui: ==> vsphere-iso: http://releases.ubuntu.com/18.04.5/ubuntu-18.04.5-desktop-amd64.iso?checksum=sha256%3Af295570badb09a606d97ddfc3421d7bf210b4a81c07ba81e9c040eda6ddea6a0 => C:\Users\ \git\ \packer\packer_cache\a9e6afb56387f189d0c6f6665708a1d53e2d8fd6.iso
2020/09/21 20:24:21 packer.exe plugin: Leaving retrieve loop for ISO
2020/09/21 20:24:21 ui: ==> vsphere-iso: Uploading a9e6afb56387f189d0c6f6665708a1d53e2d8fd6.iso to packer_cache/a9e6afb56387f189d0c6f6665708a1d53e2d8fd6.iso
2020/09/21 20:24:21 ui: ==> vsphere-iso: File already uploaded; continuing
2020/09/21 20:24:21 ui: ==> vsphere-iso: Creating VM...
2020/09/21 20:24:22 ui: ==> vsphere-iso: Customizing hardware...
2020/09/21 20:24:22 ui: ==> vsphere-iso: Mounting ISO images...
2020/09/21 20:24:22 packer.exe plugin: Check if ISO path is a Content Library path
2020/09/21 20:24:23 packer.exe plugin: ISO path not identified as a Content Library path
2020/09/21 20:24:23 packer.exe plugin: Using [NVME_esxi] packer_cache//a9e6afb56387f189d0c6f6665708a1d53e2d8fd6.iso as the datastore path
2020/09/21 20:24:23 packer.exe plugin: Creating CD-ROM on controller '&{{{} 200 0xc000bce8e0 <nil> <nil> <nil> 0 <nil>} 0 []}' with iso '[NVME_esxi] packer_cache//a9e6afb56387f189d0c6f6665708a1d53e2d8fd6.iso'
2020/09/21 20:24:23 ui: ==> vsphere-iso: Adding configuration parameters...
2020/09/21 20:24:23 ui: ==> vsphere-iso: Creating floppy disk...
2020/09/21 20:24:23 packer.exe plugin: Floppy path: C:\Users\ ~1.FRA\AppData\Local\Temp\packer879271155
2020/09/21 20:24:23 packer.exe plugin: Initializing block device backed by temporary file
2020/09/21 20:24:23 packer.exe plugin: Formatting the block device with a FAT filesystem...
2020/09/21 20:24:23 packer.exe plugin: Initializing FAT filesystem on block device
2020/09/21 20:24:23 packer.exe plugin: Reading the root directory from the filesystem
2020/09/21 20:24:23 ui: vsphere-iso: Copying files flatly from floppy_files
2020/09/21 20:24:23 ui: vsphere-iso: Copying file: ./packer-vsphere-iso-windows/ubuntu1804.base/preseed.cfg
2020/09/21 20:24:23 ui: vsphere-iso: Done copying files from floppy_files
2020/09/21 20:24:23 ui: vsphere-iso: Collecting paths from floppy_dirs
2020/09/21 20:24:23 ui: vsphere-iso: Resulting paths from floppy_dirs : []
2020/09/21 20:24:23 ui: vsphere-iso: Done copying paths from floppy_dirs
2020/09/21 20:24:23 ui: ==> vsphere-iso: Uploading created floppy image
2020/09/21 20:24:23 ui: ==> vsphere-iso: Adding generated Floppy...
2020/09/21 20:24:23 packer.exe plugin: Found available port: 8586 on IP: 0.0.0.0
2020/09/21 20:24:23 ui: ==> vsphere-iso: Starting HTTP server on port 8586
2020/09/21 20:24:23 ui: ==> vsphere-iso: Set boot order temporary...
2020/09/21 20:24:23 ui: ==> vsphere-iso: Power on VM...
2020/09/21 20:24:24 ui: ==> vsphere-iso: Waiting 5s for boot...
2020/09/21 20:24:29 ui: ==> vsphere-iso: HTTP server is working at http://169.254.1.249:8586/
2020/09/21 20:24:29 ui: ==> vsphere-iso: Typing boot command...
2020/09/21 20:24:29 packer.exe plugin: Special code '<esc>' found, replacing with: CodeEscape
2020/09/21 20:24:29 packer.exe plugin: [INFO] Waiting 10s
2020/09/21 20:24:39 packer.exe plugin: Special code '<esc>' found, replacing with: CodeEscape
2020/09/21 20:24:39 packer.exe plugin: Special code '<esc>' found, replacing with: CodeEscape
2020/09/21 20:24:39 packer.exe plugin: Special code '<enter>' found, replacing with: CodeReturnEnter
2020/09/21 20:24:39 packer.exe plugin: [INFO] Waiting 1s
2020/09/21 20:24:40 packer.exe plugin: Sending char 's', code CodeS, shift false
2020/09/21 20:24:40 packer.exe plugin: Sending char 'e', code CodeE, shift false
2020/09/21 20:24:41 packer.exe plugin: Sending char 't', code CodeT, shift false
2020/09/21 20:24:41 packer.exe plugin: Sending char ' ', code CodeSpacebar, shift false
2020/09/21 20:24:41 packer.exe plugin: Sending char 'g', code CodeG, shift false
.....
2020/09/21 20:25:29 packer.exe plugin: [INFO] Waiting for IP, up to total timeout: 30m0s, settle timeout: 5s
2020/09/21 20:25:29 ui: ==> vsphere-iso: Waiting for IP...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment