This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0K[0K[36;1mExecuting "step_script" stage of the job script[0;m[0;m | |
[32;1m$ cd $CI_PROJECT_DIR[0;m | |
[32;1m$ PACKER_LOG=1 packer build -force -timestamp-ui -only="*.linux_alma" -var-file="linux_alma.pkrvars.hcl" .[0;m | |
2021/10/19 14:12:28 [INFO] Packer version: 1.7.6 [go1.17.1 linux amd64] | |
2021/10/19 14:12:28 Old default config directory found: /home/gitlab-runner/.packer.d | |
2021/10/19 14:12:28 [TRACE] discovering plugins in /usr/sbin | |
2021/10/19 14:12:28 Old default config directory found: /home/gitlab-runner/.packer.d | |
2021/10/19 14:12:28 [TRACE] discovering plugins in /home/gitlab-runner/.packer.d/plugins | |
2021/10/19 14:12:28 [TRACE] discovering plugins in . | |
2021/10/19 14:12:28 [INFO] PACKER_CONFIG env var not set; checking the default config file path | |
2021/10/19 14:12:28 [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/gitlab-runner/.packerconfig | |
2021/10/19 14:12:28 [WARN] Config file doesn't exist: /home/gitlab-runner/.packerconfig | |
2021/10/19 14:12:28 Old default config directory found: /home/gitlab-runner/.packer.d | |
2021/10/19 14:12:28 [INFO] Setting cache directory: /home/gitlab-runner/.cache/packer | |
2021/10/19 14:12:28 Old default config directory found: /home/gitlab-runner/.packer.d | |
e: Running in background, not using a TTY | |
2021/10/19 14:12:28 [TRACE] listing potential installations for "github.com/rgl/windows-update" that match "~> 0.14.0". plugingetter.ListInstallationsOptions{FromFolders:[]string{"/usr/sbin/packer", ".", "/home/gitlab-runner/.packer.d/plugins"}, BinaryInstallationOptions:plugingetter.BinaryInstallationOptions{APIVersionMajor:"5", APIVersionMinor:"0", OS:"linux", ARCH:"amd64", Ext:"", Checksummers:[]plugingetter.Checksummer{plugingetter.Checksummer{Type:"sha256", Hash:(*sha256.digest)(0xc00013c800)}}}} | |
2021/10/19 14:12:28 [TRACE] version "v0.12.0" of file "/home/gitlab-runner/.packer.d/plugins/github.com/rgl/windows-update/packer-plugin-windows-update_v0.12.0_x5.0_linux_amd64" does not match constraint "~> 0.14.0" | |
2021/10/19 14:12:28 [TRACE] Found the following "github.com/rgl/windows-update" installations: [{/home/gitlab-runner/.packer.d/plugins/github.com/rgl/windows-update/packer-plugin-windows-update_v0.14.0_x5.0_linux_amd64 v0.14.0}] | |
2021/10/19 14:12:28 found external [-packer-default-plugin-name-] provisioner from windows-update plugin | |
2021/10/19 14:12:28 [TRACE] listing potential installations for "github.com/hashicorp/vsphere" that match "~> 1.0.1". plugingetter.ListInstallationsOptions{FromFolders:[]string{"/usr/sbin/packer", ".", "/home/gitlab-runner/.packer.d/plugins"}, BinaryInstallationOptions:plugingetter.BinaryInstallationOptions{APIVersionMajor:"5", APIVersionMinor:"0", OS:"linux", ARCH:"amd64", Ext:"", Checksummers:[]plugingetter.Checksummer{plugingetter.Checksummer{Type:"sha256", Hash:(*sha256.digest)(0xc00013c800)}}}} | |
2021/10/19 14:12:28 [TRACE] Found the following "github.com/hashicorp/vsphere" installations: [{/home/gitlab-runner/.packer.d/plugins/github.com/hashicorp/vsphere/packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 v1.0.1}] | |
2021/10/19 14:12:28 [INFO] found external [clone iso] builders from vsphere plugin | |
2021/10/19 14:12:28 [INFO] found external [-packer-default-plugin-name- template] post-processors from vsphere plugin | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for os_password_linux, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for vm_folder, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for content_library_template_name, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for os_iso_path, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for cpu_num, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for vcenter_password, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for os_username, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for vcenter_cluster, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for vcenter_host, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for vcenter_datastore, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for vm_network, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for vm_name, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for disk_size, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for vm_hardware_version, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for vm_firmware, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for guest_os_type, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for content_library_destination, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for auto_unattend, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for os_password_server, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for os_password_workstation, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for vcenter_server, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for vcenter_datacenter, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for vmtools_iso_path, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for vcenter_username, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for ram, so skipping | |
2021/10/19 14:12:28 [TRACE] validateValue: not active for network_card, so skipping | |
2021/10/19 14:12:28 [TRACE] Starting external plugin /home/gitlab-runner/.packer.d/plugins/github.com/hashicorp/vsphere/packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 start builder iso | |
2021/10/19 14:12:28 Starting plugin: /home/gitlab-runner/.packer.d/plugins/github.com/hashicorp/vsphere/packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 []string{"/home/gitlab-runner/.packer.d/plugins/github.com/hashicorp/vsphere/packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64", "start", "builder", "iso"} | |
2021/10/19 14:12:28 Waiting for RPC address for: /home/gitlab-runner/.packer.d/plugins/github.com/hashicorp/vsphere/packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 | |
2021/10/19 14:12:28 Received unix RPC address for /home/gitlab-runner/.packer.d/plugins/github.com/hashicorp/vsphere/packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64: addr is /tmp/packer-plugin055580106 | |
2021/10/19 14:12:28 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:28 Plugin address: unix /tmp/packer-plugin055580106 | |
2021/10/19 14:12:28 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:28 Waiting for connection... | |
2021/10/19 14:12:28 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:28 Serving a plugin connection... | |
2021/10/19 14:12:28 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:28 [TRACE] starting builder iso | |
2021/10/19 14:12:28 [TRACE] Starting internal plugin packer-provisioner-shell | |
2021/10/19 14:12:28 Starting plugin: /usr/sbin/packer []string{"/usr/sbin/packer", "plugin", "packer-provisioner-shell"} | |
2021/10/19 14:12:28 Waiting for RPC address for: /usr/sbin/packer | |
2021/10/19 14:12:28 packer-provisioner-shell plugin: [INFO] Packer version: 1.7.6 [go1.17.1 linux amd64] | |
2021/10/19 14:12:28 packer-provisioner-shell plugin: Old default config directory found: /home/gitlab-runner/.packer.d | |
2021/10/19 14:12:28 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path | |
2021/10/19 14:12:28 packer-provisioner-shell plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /home/gitlab-runner/.packerconfig | |
2021/10/19 14:12:28 packer-provisioner-shell plugin: [WARN] Config file doesn't exist: /home/gitlab-runner/.packerconfig | |
2021/10/19 14:12:28 packer-provisioner-shell plugin: Old default config directory found: /home/gitlab-runner/.packer.d | |
2021/10/19 14:12:28 packer-provisioner-shell plugin: [INFO] Setting cache directory: /home/gitlab-runner/.cache/packer | |
2021/10/19 14:12:28 packer-provisioner-shell plugin: args: []string{"packer-provisioner-shell"} | |
2021/10/19 14:12:28 packer-provisioner-shell plugin: Old default config directory found: /home/gitlab-runner/.packer.d | |
2021/10/19 14:12:28 Received unix RPC address for /usr/sbin/packer: addr is /tmp/packer-plugin1340904601 | |
2021/10/19 14:12:28 packer-provisioner-shell plugin: Plugin address: unix /tmp/packer-plugin1340904601 | |
2021/10/19 14:12:28 packer-provisioner-shell plugin: Waiting for connection... | |
2021/10/19 14:12:28 packer-provisioner-shell plugin: Serving a plugin connection... | |
2021/10/19 14:12:28 Build debug mode: false | |
2021/10/19 14:12:28 Force build: true | |
2021/10/19 14:12:28 On error: | |
2021/10/19 14:12:28 Waiting on builds to complete... | |
2021/10/19 14:12:28 Starting build run: vsphere-iso.linux_alma | |
2021/10/19 14:12:28 Running builder: | |
2021/10/19 14:12:28 [INFO] (telemetry) Starting builder vsphere-iso.linux_alma | |
[1;32mvsphere-iso.linux_alma: output will be in this color.[0m | |
2021/10/19 14:12:28 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:28 No URLs were provided to Step Download. Continuing... | |
2021/10/19 14:12:28 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:28 No CD files specified. CD disk will not be made. | |
[1;32m2021-10-19T14:12:28+01:00: ==> vsphere-iso.linux_alma: the vm/template templates/linux_alma_core_x64_packer already exists, but deleting it due to -force flag[0m | |
[1;32m2021-10-19T14:12:28+01:00: ==> vsphere-iso.linux_alma: templates/linux_alma_core_x64_packer is a template, attempting to convert it to a vm[0m | |
[1;32m2021-10-19T14:12:29+01:00: ==> vsphere-iso.linux_alma: Creating VM...[0m | |
[1;32m2021-10-19T14:12:30+01:00: ==> vsphere-iso.linux_alma: Customizing hardware...[0m | |
[1;32m2021-10-19T14:12:30+01:00: ==> vsphere-iso.linux_alma: Adding SATA controller...[0m | |
[1;32m2021-10-19T14:12:30+01:00: ==> vsphere-iso.linux_alma: Mounting ISO images...[0m | |
2021/10/19 14:12:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:31 Check if ISO path is a Content Library path | |
2021/10/19 14:12:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:31 ISO path not identified as a Content Library path | |
2021/10/19 14:12:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:31 Using [contentlibrary] iso_automation/almalinux_8.4_x64_dvd.iso as the datastore path | |
2021/10/19 14:12:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:31 Creating CD-ROM on controller '&{{{} 15000 0xc000593e80 <nil> <nil> <nil> 100 0xc00045514c} 0 []}' with iso '[contentlibrary] iso_automation/almalinux_8.4_x64_dvd.iso' | |
[1;32m2021-10-19T14:12:31+01:00: ==> vsphere-iso.linux_alma: Adding configuration parameters...[0m | |
2021/10/19 14:12:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:31 No floppy files specified. Floppy disk will not be made. | |
[1;32m2021-10-19T14:12:31+01:00: ==> vsphere-iso.linux_alma: Starting HTTP server on port 8980[0m | |
2021/10/19 14:12:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:31 Found available port: 8980 on IP: 0.0.0.0 | |
[1;32m2021-10-19T14:12:31+01:00: ==> vsphere-iso.linux_alma: Set boot order...[0m | |
[1;32m2021-10-19T14:12:31+01:00: ==> vsphere-iso.linux_alma: Power on VM...[0m | |
[1;32m2021-10-19T14:12:33+01:00: ==> vsphere-iso.linux_alma: Waiting 10s for boot...[0m | |
[1;32m2021-10-19T14:12:43+01:00: ==> vsphere-iso.linux_alma: HTTP server is working at http://1.2.3.4:8980/[0m | |
[1;32m2021-10-19T14:12:43+01:00: ==> vsphere-iso.linux_alma: Typing boot command...[0m | |
2021/10/19 14:12:43 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:43 Special code '<up>' found, replacing with: CodeUpArrow | |
2021/10/19 14:12:43 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:43 Sending char 'e', code CodeE, shift false | |
2021/10/19 14:12:43 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:43 Special code '<down>' found, replacing with: CodeDownArrow | |
2021/10/19 14:12:43 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:43 Special code '<down>' found, replacing with: CodeDownArrow | |
2021/10/19 14:12:43 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:43 Special code '<end>' found, replacing with: CodeEnd | |
2021/10/19 14:12:43 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:43 Sending char ' ', code CodeSpacebar, shift false | |
2021/10/19 14:12:43 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:43 Sending char 'i', code CodeI, shift false | |
2021/10/19 14:12:43 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:43 Sending char 'n', code CodeN, shift false | |
2021/10/19 14:12:44 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:44 Sending char 's', code CodeS, shift false | |
2021/10/19 14:12:44 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:44 Sending char 't', code CodeT, shift false | |
2021/10/19 14:12:44 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:44 Sending char '.', code CodeFullStop, shift false | |
2021/10/19 14:12:44 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:44 Sending char 'k', code CodeK, shift false | |
2021/10/19 14:12:44 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:44 Sending char 's', code CodeS, shift false | |
2021/10/19 14:12:44 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:44 Sending char '=', code CodeEqualSign, shift false | |
2021/10/19 14:12:44 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:44 Sending char 'h', code CodeH, shift false | |
2021/10/19 14:12:44 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:44 Sending char 't', code CodeT, shift false | |
2021/10/19 14:12:44 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:44 Sending char 't', code CodeT, shift false | |
2021/10/19 14:12:45 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:45 Sending char 'p', code CodeP, shift false | |
2021/10/19 14:12:45 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:45 Sending char ':', code CodeSemicolon, shift true | |
2021/10/19 14:12:45 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:45 Sending char '/', code CodeSlash, shift false | |
2021/10/19 14:12:45 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:45 Sending char '/', code CodeSlash, shift false | |
2021/10/19 14:12:45 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:45 Sending char '1', code Code1, shift false | |
2021/10/19 14:12:45 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:45 Sending char '0', code Code0, shift false | |
2021/10/19 14:12:45 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:45 Sending char '.', code CodeFullStop, shift false | |
2021/10/19 14:12:45 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:45 Sending char '1', code Code1, shift false | |
2021/10/19 14:12:46 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:46 Sending char '.', code CodeFullStop, shift false | |
2021/10/19 14:12:46 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:46 Sending char '1', code Code1, shift false | |
2021/10/19 14:12:46 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:46 Sending char '2', code Code2, shift false | |
2021/10/19 14:12:46 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:46 Sending char '.', code CodeFullStop, shift false | |
2021/10/19 14:12:46 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:46 Sending char '8', code Code8, shift false | |
2021/10/19 14:12:46 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:46 Sending char '3', code Code3, shift false | |
2021/10/19 14:12:46 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:46 Sending char ':', code CodeSemicolon, shift true | |
2021/10/19 14:12:46 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:46 Sending char '8', code Code8, shift false | |
2021/10/19 14:12:46 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:46 Sending char '9', code Code9, shift false | |
2021/10/19 14:12:47 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:47 Sending char '8', code Code8, shift false | |
2021/10/19 14:12:47 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:47 Sending char '0', code Code0, shift false | |
2021/10/19 14:12:47 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:47 Sending char '/', code CodeSlash, shift false | |
2021/10/19 14:12:47 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:47 Sending char 'k', code CodeK, shift false | |
2021/10/19 14:12:47 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:47 Sending char 's', code CodeS, shift false | |
2021/10/19 14:12:47 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:47 Sending char '.', code CodeFullStop, shift false | |
2021/10/19 14:12:47 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:47 Sending char 'c', code CodeC, shift false | |
2021/10/19 14:12:47 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:47 Sending char 'f', code CodeF, shift false | |
2021/10/19 14:12:48 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:48 Sending char 'g', code CodeG, shift false | |
2021/10/19 14:12:48 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:48 Special code '<enter>' found, replacing with: CodeReturnEnter | |
2021/10/19 14:12:48 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:48 [INFO] Waiting 1s | |
2021/10/19 14:12:49 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:49 Special code '<leftctrl>' found, replacing with: CodeLeftControl | |
2021/10/19 14:12:49 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:49 Sending char 'x', code CodeX, shift false | |
2021/10/19 14:12:49 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:49 Special code '<leftctrl>' found, replacing with: CodeLeftControl | |
2021/10/19 14:12:49 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:12:49 [INFO] Waiting for IP, up to total timeout: 30m0s, settle timeout: 15s | |
[1;32m2021-10-19T14:12:49+01:00: ==> vsphere-iso.linux_alma: Waiting for IP...[0m | |
2021/10/19 14:21:02 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:21:02 VM IP aquired: 2.3.4.5 | |
2021/10/19 14:21:02 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:21:02 VM IP is still the same: 2.3.4.5 | |
2021/10/19 14:21:07 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:21:07 VM IP is still the same: 2.3.4.5 | |
2021/10/19 14:21:12 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:21:12 VM IP is still the same: 2.3.4.5 | |
2021/10/19 14:21:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:21:17 VM IP is still the same: 2.3.4.5 | |
2021/10/19 14:21:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:21:17 VM IP seems stable enough: 2.3.4.5 | |
[1;32m2021-10-19T14:21:17+01:00: ==> vsphere-iso.linux_alma: IP address: 2.3.4.5[0m | |
[1;32m2021-10-19T14:21:17+01:00: ==> vsphere-iso.linux_alma: Using SSH communicator to connect: 2.3.4.5[0m | |
2021/10/19 14:21:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:21:17 [INFO] Waiting for SSH, up to timeout: 15m0s | |
[1;32m2021-10-19T14:21:17+01:00: ==> vsphere-iso.linux_alma: Waiting for SSH to become available...[0m | |
2021/10/19 14:21:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:21:17 [INFO] Attempting SSH connection to 2.3.4.5:22... | |
2021/10/19 14:21:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:21:17 [DEBUG] reconnecting to TCP connection for SSH | |
2021/10/19 14:21:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:21:17 [DEBUG] handshaking with SSH | |
2021/10/19 14:21:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:21:17 [DEBUG] handshake complete! | |
2021/10/19 14:21:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:21:17 [INFO] no local agent socket, will not connect agent | |
[1;32m2021-10-19T14:21:17+01:00: ==> vsphere-iso.linux_alma: Connected to SSH![0m | |
[1;32m2021-10-19T14:21:17+01:00: ==> vsphere-iso.linux_alma: Pausing 1m0s before connecting...[0m | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 Pause over; connecting... | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [INFO] Waiting for SSH, up to timeout: 15m0s | |
[1;32m2021-10-19T14:22:17+01:00: ==> vsphere-iso.linux_alma: Waiting for SSH to become available...[0m | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [INFO] Attempting SSH connection to 2.3.4.5:22... | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [DEBUG] reconnecting to TCP connection for SSH | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [DEBUG] handshaking with SSH | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [DEBUG] handshake complete! | |
[1;32m2021-10-19T14:22:17+01:00: ==> vsphere-iso.linux_alma: Connected to SSH![0m | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [INFO] no local agent socket, will not connect agent | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 Running the provision hook | |
2021/10/19 14:22:17 [INFO] (telemetry) Starting provisioner shell | |
[1;32m2021-10-19T14:22:17+01:00: ==> vsphere-iso.linux_alma: Provisioning with shell script: scripts/linux/ncpa.sh[0m | |
2021/10/19 14:22:17 packer-provisioner-shell plugin: Opening scripts/linux/ncpa.sh for reading | |
2021/10/19 14:22:17 packer-provisioner-shell plugin: [INFO] 903 bytes written for 'uploadData' | |
2021/10/19 14:22:17 [INFO] 903 bytes written for 'uploadData' | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [DEBUG] Starting remote scp process: scp -vt /tmp | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [DEBUG] Started SCP session, beginning transfers... | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [DEBUG] Copying input data into temporary file so we can read the length | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [DEBUG] scp: Uploading script_7053.sh: perms=C0644 size=903 | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [DEBUG] SCP session complete, closing stdin pipe. | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [DEBUG] Waiting for SSH session to complete. | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [DEBUG] scp stderr (length 31): Sink: C0644 903 script_7053.sh | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [DEBUG] starting remote command: chmod 0755 /tmp/script_7053.sh | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:17 [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:17 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:17 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:17 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:17 [DEBUG] starting remote command: echo '<sensitive>' | PACKER_BUILDER_TYPE='vsphere-iso' PACKER_BUILD_NAME='linux_alma' PACKER_HTTP_ADDR='1.2.3.4:8980' PACKER_HTTP_IP='1.2.3.4' PACKER_HTTP_PORT='8980' sudo -S -E sh -eux '/tmp/script_7053.sh' | |
[1;31m2021-10-19T14:22:17+01:00: ==> vsphere-iso.linux_alma: + rpm -Uvh https://repo.nagios.com/nagios/8/nagios-repo-8-1.el8.noarch.rpm[0m | |
[1;31m2021-10-19T14:22:18+01:00: ==> vsphere-iso.linux_alma: warning: /var/tmp/rpm-tmp.SRKqD9: Header V4 RSA/SHA256 Signature, key ID c62934a0: NOKEY[0m | |
[0;32m2021-10-19T14:22:18+01:00: vsphere-iso.linux_alma: Retrieving https://repo.nagios.com/nagios/8/nagios-repo-8-1.el8.noarch.rpm[0m | |
[0;32m2021-10-19T14:22:18+01:00: vsphere-iso.linux_alma: Verifying... ########################################[0m | |
[0;32m2021-10-19T14:22:18+01:00: vsphere-iso.linux_alma: Preparing... ########################################[0m | |
[0;32m2021-10-19T14:22:18+01:00: vsphere-iso.linux_alma: Updating / installing...[0m | |
[0;32m2021-10-19T14:22:18+01:00: vsphere-iso.linux_alma: nagios-repo-8-1.el8 ########################################[0m | |
[1;31m2021-10-19T14:22:18+01:00: ==> vsphere-iso.linux_alma: + yum install ncpa -y[0m | |
[0;32m2021-10-19T14:22:20+01:00: vsphere-iso.linux_alma: Nagios 207 kB/s | 226 kB 00:01[0m | |
[0;32m2021-10-19T14:22:21+01:00: vsphere-iso.linux_alma: Nagios XI Dependencies 31 kB/s | 21 kB 00:00[0m | |
[0;32m2021-10-19T14:22:22+01:00: vsphere-iso.linux_alma: Dependencies resolved.[0m | |
[0;32m2021-10-19T14:22:22+01:00: vsphere-iso.linux_alma: ================================================================================[0m | |
[0;32m2021-10-19T14:22:22+01:00: vsphere-iso.linux_alma: Package Architecture Version Repository Size[0m | |
[0;32m2021-10-19T14:22:22+01:00: vsphere-iso.linux_alma: ================================================================================[0m | |
[0;32m2021-10-19T14:22:22+01:00: vsphere-iso.linux_alma: Installing:[0m | |
[0;32m2021-10-19T14:22:22+01:00: vsphere-iso.linux_alma: ncpa x86_64 2.3.1-1.el8 nagios-base 11 M[0m | |
[0;32m2021-10-19T14:22:22+01:00: vsphere-iso.linux_alma:[0m | |
[0;32m2021-10-19T14:22:22+01:00: vsphere-iso.linux_alma: Transaction Summary[0m | |
[0;32m2021-10-19T14:22:22+01:00: vsphere-iso.linux_alma: ================================================================================[0m | |
[0;32m2021-10-19T14:22:22+01:00: vsphere-iso.linux_alma: Install 1 Package[0m | |
[0;32m2021-10-19T14:22:22+01:00: vsphere-iso.linux_alma:[0m | |
[0;32m2021-10-19T14:22:22+01:00: vsphere-iso.linux_alma: Total download size: 11 M[0m | |
[0;32m2021-10-19T14:22:22+01:00: vsphere-iso.linux_alma: Installed size: 31 M[0m | |
[0;32m2021-10-19T14:22:22+01:00: vsphere-iso.linux_alma: Downloading Packages:[0m | |
[0;32m2021-10-19T14:22:23+01:00: vsphere-iso.linux_alma: ncpa-2.3.1.el8.x86_64.rpm 7.8 MB/s | 11 MB 00:01[0m | |
[0;32m2021-10-19T14:22:23+01:00: vsphere-iso.linux_alma: --------------------------------------------------------------------------------[0m | |
[0;32m2021-10-19T14:22:23+01:00: vsphere-iso.linux_alma: Total 7.8 MB/s | 11 MB 00:01[0m | |
[1;31m2021-10-19T14:22:23+01:00: ==> vsphere-iso.linux_alma: warning: /var/cache/dnf/nagios-base-9e4a772ce31c1a50/packages/ncpa-2.3.1.el8.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID c62934a0: NOKEY[0m | |
[0;32m2021-10-19T14:22:23+01:00: vsphere-iso.linux_alma: Nagios 3.0 MB/s | 3.0 kB 00:00[0m | |
[1;31m2021-10-19T14:22:23+01:00: ==> vsphere-iso.linux_alma: Importing GPG key 0xC62934A0:[0m | |
[1;31m2021-10-19T14:22:23+01:00: ==> vsphere-iso.linux_alma: Userid : "Nagios Enterprises <sales@nagios.com>"[0m | |
[1;31m2021-10-19T14:22:23+01:00: ==> vsphere-iso.linux_alma: Fingerprint: F704 41A0 2616 A51C 6FEF C500 67A7 5C9B C629 34A0[0m | |
[1;31m2021-10-19T14:22:23+01:00: ==> vsphere-iso.linux_alma: From : /etc/pki/rpm-gpg/RPM-GPG-KEY-NAGIOS-V2[0m | |
[0;32m2021-10-19T14:22:23+01:00: vsphere-iso.linux_alma: Key imported successfully[0m | |
[0;32m2021-10-19T14:22:23+01:00: vsphere-iso.linux_alma: Running transaction check[0m | |
[0;32m2021-10-19T14:22:23+01:00: vsphere-iso.linux_alma: Transaction check succeeded.[0m | |
[0;32m2021-10-19T14:22:23+01:00: vsphere-iso.linux_alma: Running transaction test[0m | |
[0;32m2021-10-19T14:22:23+01:00: vsphere-iso.linux_alma: Transaction test succeeded.[0m | |
[0;32m2021-10-19T14:22:23+01:00: vsphere-iso.linux_alma: Running transaction[0m | |
[0;32m2021-10-19T14:22:23+01:00: vsphere-iso.linux_alma: Preparing : 1/1[0m | |
[0;32m2021-10-19T14:22:25+01:00: vsphere-iso.linux_alma: Running scriptlet: ncpa-2.3.1-1.el8.x86_64 1/1[0m | |
[0;32m2021-10-19T14:22:25+01:00: vsphere-iso.linux_alma: Installing : ncpa-2.3.1-1.el8.x86_64 1/1[0m | |
[0;32m2021-10-19T14:22:26+01:00: vsphere-iso.linux_alma: Running scriptlet: ncpa-2.3.1-1.el8.x86_64 1/1[0m | |
[0;32m2021-10-19T14:22:26+01:00: vsphere-iso.linux_alma: Verifying : ncpa-2.3.1-1.el8.x86_64 1/1[0m | |
[0;32m2021-10-19T14:22:26+01:00: vsphere-iso.linux_alma:[0m | |
[0;32m2021-10-19T14:22:26+01:00: vsphere-iso.linux_alma: Installed:[0m | |
[0;32m2021-10-19T14:22:26+01:00: vsphere-iso.linux_alma: ncpa-2.3.1-1.el8.x86_64[0m | |
[0;32m2021-10-19T14:22:26+01:00: vsphere-iso.linux_alma:[0m | |
[0;32m2021-10-19T14:22:26+01:00: vsphere-iso.linux_alma: Complete![0m | |
[1;31m2021-10-19T14:22:26+01:00: ==> vsphere-iso.linux_alma: + cd /usr/local/ncpa/etc/[0m | |
[1;31m2021-10-19T14:22:26+01:00: ==> vsphere-iso.linux_alma: + /etc/init.d/ncpa_listener restart[0m | |
[0;32m2021-10-19T14:22:27+01:00: vsphere-iso.linux_alma: Restarting ncpa_listener (via systemctl): [ OK ][0m | |
[1;31m2021-10-19T14:22:27+01:00: ==> vsphere-iso.linux_alma: + cd /etc/firewalld/services[0m | |
[1;31m2021-10-19T14:22:27+01:00: ==> vsphere-iso.linux_alma: + touch ncpa-listener.xml[0m | |
[1;31m2021-10-19T14:22:27+01:00: ==> vsphere-iso.linux_alma: + cat[0m | |
[1;31m2021-10-19T14:22:27+01:00: ==> vsphere-iso.linux_alma: + firewall-cmd --reload[0m | |
[0;32m2021-10-19T14:22:28+01:00: vsphere-iso.linux_alma: success[0m | |
[1;31m2021-10-19T14:22:28+01:00: ==> vsphere-iso.linux_alma: + firewall-cmd --zone=public --add-service=ncpa-listener --permanent[0m | |
[0;32m2021-10-19T14:22:28+01:00: vsphere-iso.linux_alma: success[0m | |
[1;31m2021-10-19T14:22:28+01:00: ==> vsphere-iso.linux_alma: + firewall-cmd --reload[0m | |
[0;32m2021-10-19T14:22:29+01:00: vsphere-iso.linux_alma: success[0m | |
2021/10/19 14:22:29 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:29 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:29 [INFO] 2107 bytes written for 'stdout' | |
2021/10/19 14:22:29 [INFO] 816 bytes written for 'stderr' | |
2021/10/19 14:22:29 [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:29 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:29 packer-provisioner-shell plugin: [INFO] 2107 bytes written for 'stdout' | |
2021/10/19 14:22:29 packer-provisioner-shell plugin: [INFO] 816 bytes written for 'stderr' | |
2021/10/19 14:22:29 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:29 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:29 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:29 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:29 [DEBUG] starting remote command: rm -f /tmp/script_7053.sh | |
2021/10/19 14:22:29 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:29 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:29 [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:29 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:29 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0 | |
[1;32m2021-10-19T14:22:29+01:00: ==> vsphere-iso.linux_alma: Provisioning with shell script: scripts/linux/cockpit.sh[0m | |
2021/10/19 14:22:29 packer-provisioner-shell plugin: Opening scripts/linux/cockpit.sh for reading | |
2021/10/19 14:22:29 packer-provisioner-shell plugin: [INFO] 85 bytes written for 'uploadData' | |
2021/10/19 14:22:29 [INFO] 85 bytes written for 'uploadData' | |
2021/10/19 14:22:29 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:29 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:29 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:29 [DEBUG] Starting remote scp process: scp -vt /tmp | |
2021/10/19 14:22:29 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:29 [DEBUG] Started SCP session, beginning transfers... | |
2021/10/19 14:22:29 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:29 [DEBUG] Copying input data into temporary file so we can read the length | |
2021/10/19 14:22:29 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:29 [DEBUG] scp: Uploading script_7053.sh: perms=C0644 size=85 | |
2021/10/19 14:22:29 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:29 [DEBUG] SCP session complete, closing stdin pipe. | |
2021/10/19 14:22:29 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:29 [DEBUG] Waiting for SSH session to complete. | |
2021/10/19 14:22:29 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:29 [DEBUG] scp stderr (length 30): Sink: C0644 85 script_7053.sh | |
2021/10/19 14:22:29 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:29 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:29 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:29 [DEBUG] starting remote command: chmod 0755 /tmp/script_7053.sh | |
2021/10/19 14:22:29 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:29 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:29 [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:29 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:29 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:29 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:29 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:29 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:29 [DEBUG] starting remote command: echo '<sensitive>' | PACKER_BUILDER_TYPE='vsphere-iso' PACKER_BUILD_NAME='linux_alma' PACKER_HTTP_ADDR='1.2.3.4:8980' PACKER_HTTP_IP='1.2.3.4' PACKER_HTTP_PORT='8980' sudo -S -E sh -eux '/tmp/script_7053.sh' | |
[1;31m2021-10-19T14:22:29+01:00: ==> vsphere-iso.linux_alma: + yum install cockpit -y[0m | |
[0;32m2021-10-19T14:22:29+01:00: vsphere-iso.linux_alma: Last metadata expiration check: 0:00:08 ago on Tue 19 Oct 2021 14:22:23 BST.[0m | |
[0;32m2021-10-19T14:22:30+01:00: vsphere-iso.linux_alma: Package cockpit-238.2-1.el8.x86_64 is already installed.[0m | |
[0;32m2021-10-19T14:22:30+01:00: vsphere-iso.linux_alma: Dependencies resolved.[0m | |
[0;32m2021-10-19T14:22:30+01:00: vsphere-iso.linux_alma: Nothing to do.[0m | |
[0;32m2021-10-19T14:22:30+01:00: vsphere-iso.linux_alma: Complete![0m | |
[1;31m2021-10-19T14:22:30+01:00: ==> vsphere-iso.linux_alma: + systemctl enable --now cockpit.socket[0m | |
[1;31m2021-10-19T14:22:30+01:00: ==> vsphere-iso.linux_alma: Created symlink /etc/systemd/system/sockets.target.wants/cockpit.socket → /usr/lib/systemd/system/cockpit.socket.[0m | |
[1;31m2021-10-19T14:22:30+01:00: ==> vsphere-iso.linux_alma: + systemctl start cockpit[0m | |
2021/10/19 14:22:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:31 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:31 [INFO] 182 bytes written for 'stdout' | |
2021/10/19 14:22:31 [INFO] 207 bytes written for 'stderr' | |
2021/10/19 14:22:31 [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:31 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:31 packer-provisioner-shell plugin: [INFO] 182 bytes written for 'stdout' | |
2021/10/19 14:22:31 packer-provisioner-shell plugin: [INFO] 207 bytes written for 'stderr' | |
2021/10/19 14:22:31 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:31 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:31 [DEBUG] starting remote command: rm -f /tmp/script_7053.sh | |
2021/10/19 14:22:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:31 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:31 [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:31 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:31 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0 | |
[1;32m2021-10-19T14:22:31+01:00: ==> vsphere-iso.linux_alma: Provisioning with shell script: scripts/linux/yum_update.sh[0m | |
2021/10/19 14:22:31 packer-provisioner-shell plugin: Opening scripts/linux/yum_update.sh for reading | |
2021/10/19 14:22:31 packer-provisioner-shell plugin: [INFO] 20 bytes written for 'uploadData' | |
2021/10/19 14:22:31 [INFO] 20 bytes written for 'uploadData' | |
2021/10/19 14:22:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:31 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:31 [DEBUG] Starting remote scp process: scp -vt /tmp | |
2021/10/19 14:22:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:31 [DEBUG] Started SCP session, beginning transfers... | |
2021/10/19 14:22:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:31 [DEBUG] Copying input data into temporary file so we can read the length | |
2021/10/19 14:22:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:31 [DEBUG] scp: Uploading script_7053.sh: perms=C0644 size=20 | |
2021/10/19 14:22:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:31 [DEBUG] SCP session complete, closing stdin pipe. | |
2021/10/19 14:22:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:31 [DEBUG] Waiting for SSH session to complete. | |
2021/10/19 14:22:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:31 [DEBUG] scp stderr (length 30): Sink: C0644 20 script_7053.sh | |
2021/10/19 14:22:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:31 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:31 [DEBUG] starting remote command: chmod 0755 /tmp/script_7053.sh | |
2021/10/19 14:22:31 [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:31 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:31 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:31 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:31 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:31 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:31 [DEBUG] starting remote command: echo '<sensitive>' | PACKER_BUILDER_TYPE='vsphere-iso' PACKER_BUILD_NAME='linux_alma' PACKER_HTTP_ADDR='1.2.3.4:8980' PACKER_HTTP_IP='1.2.3.4' PACKER_HTTP_PORT='8980' sudo -S -E sh -eux '/tmp/script_7053.sh' | |
[1;31m2021-10-19T14:22:31+01:00: ==> vsphere-iso.linux_alma: + sudo yum upgrade -y[0m | |
[0;32m2021-10-19T14:22:31+01:00: vsphere-iso.linux_alma: Last metadata expiration check: 0:00:10 ago on Tue 19 Oct 2021 14:22:23 BST.[0m | |
[0;32m2021-10-19T14:22:32+01:00: vsphere-iso.linux_alma: Dependencies resolved.[0m | |
[0;32m2021-10-19T14:22:32+01:00: vsphere-iso.linux_alma: Nothing to do.[0m | |
[0;32m2021-10-19T14:22:32+01:00: vsphere-iso.linux_alma: Complete![0m | |
2021/10/19 14:22:32 [INFO] 125 bytes written for 'stdout' | |
2021/10/19 14:22:32 [INFO] 22 bytes written for 'stderr' | |
2021/10/19 14:22:32 [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: [INFO] 125 bytes written for 'stdout' | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: [INFO] 22 bytes written for 'stderr' | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] starting remote command: rm -f /tmp/script_7053.sh | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:32 [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0 | |
[1;32m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: Provisioning with shell script: scripts/linux/cleanup.sh[0m | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: Opening scripts/linux/cleanup.sh for reading | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: [INFO] 835 bytes written for 'uploadData' | |
2021/10/19 14:22:32 [INFO] 835 bytes written for 'uploadData' | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Starting remote scp process: scp -vt /tmp | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Started SCP session, beginning transfers... | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Copying input data into temporary file so we can read the length | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] scp: Uploading script_7053.sh: perms=C0644 size=835 | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] SCP session complete, closing stdin pipe. | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Waiting for SSH session to complete. | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] scp stderr (length 31): Sink: C0644 835 script_7053.sh | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] starting remote command: chmod 0755 /tmp/script_7053.sh | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:32 [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] starting remote command: echo '<sensitive>' | PACKER_BUILDER_TYPE='vsphere-iso' PACKER_BUILD_NAME='linux_alma' PACKER_HTTP_ADDR='1.2.3.4:8980' PACKER_HTTP_IP='1.2.3.4' PACKER_HTTP_PORT='8980' sudo -S -E sh -eux '/tmp/script_7053.sh' | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + echo '==> Clear up yum'[0m | |
[0;32m2021-10-19T14:22:32+01:00: vsphere-iso.linux_alma: ==> Clear up yum[0m | |
[0;32m2021-10-19T14:22:32+01:00: vsphere-iso.linux_alma: Clear up yum[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + echo 'Clear up yum'[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + yum clean all[0m | |
[0;32m2021-10-19T14:22:32+01:00: vsphere-iso.linux_alma: 36 files removed[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + echo '==> Clear out machine id'[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + rm -f /etc/machine-id[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + touch /etc/machine-id[0m | |
[0;32m2021-10-19T14:22:32+01:00: vsphere-iso.linux_alma: ==> Clear out machine id[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + rm -f /var/lib/dbus/machine-id[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + ln -s /etc/machine-id /var/lib/dbus/machine-id[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + echo '==> Clean out shell history'[0m | |
[0;32m2021-10-19T14:22:32+01:00: vsphere-iso.linux_alma: ==> Clean out shell history[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + '[' -f /var/log/audit/audit.log ']'[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + cat /dev/null[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + '[' -f /var/log/wtmp ']'[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + cat /dev/null[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + '[' -f /var/log/lastlog ']'[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + cat /dev/null[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + echo '==> Clean out shell history'[0m | |
[0;32m2021-10-19T14:22:32+01:00: vsphere-iso.linux_alma: ==> Clean out shell history[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + unset HISTFILE[0m | |
[0;32m2021-10-19T14:22:32+01:00: vsphere-iso.linux_alma: ==> Removing temporary files used to build box[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + history -cw[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + echo[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + rm -fr /root/.bash_history[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + echo '==> Removing temporary files used to build box'[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + rm -rf /tmp/ks-script-a4y74_lk /tmp/ks-script-bjc720oc /tmp/ks-script-gunemrkr /tmp/script_7053.sh /tmp/systemd-private-f3ff90b0aa83418fbfa1c7cc94560247-chronyd.service-jFLaXi /tmp/systemd-private-f3ff90b0aa83418fbfa1c7cc94560247-cockpit.service-6KW7aj /tmp/vmware-root_989-4257069338[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + rm -rf /var/tmp/systemd-private-f3ff90b0aa83418fbfa1c7cc94560247-chronyd.service-qMvvWe /var/tmp/systemd-private-f3ff90b0aa83418fbfa1c7cc94560247-cockpit.service-vZEZ4h[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + rm -rf /var/cache/dnf/appstream-7992bedf6cf283a9 /var/cache/dnf/baseos-a4ba83fa826b3b88 /var/cache/dnf/expired_repos.json /var/cache/dnf/extras-51010d403f6dc12e /var/cache/dnf/fastestmirror.cache /var/cache/dnf/nagios-base-9e4a772ce31c1a50 /var/cache/dnf/nagiosxi-deps-9e4a431b9d4d402a /var/cache/dnf/packages.db /var/cache/dnf/tempfiles.json[0m | |
2021/10/19 14:22:32 [INFO] 175 bytes written for 'stdout' | |
2021/10/19 14:22:32 [INFO] 1371 bytes written for 'stderr' | |
2021/10/19 14:22:32 [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: [INFO] 175 bytes written for 'stdout' | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: [INFO] 1371 bytes written for 'stderr' | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] starting remote command: rm -f /tmp/script_7053.sh | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:32 [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
[1;32m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: Provisioning with shell script: scripts/linux/banner.sh[0m | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: Opening scripts/linux/banner.sh for reading | |
2021/10/19 14:22:32 [INFO] 2231 bytes written for 'uploadData' | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: [INFO] 2231 bytes written for 'uploadData' | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Starting remote scp process: scp -vt /tmp | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Started SCP session, beginning transfers... | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Copying input data into temporary file so we can read the length | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] scp: Uploading script_7053.sh: perms=C0644 size=2231 | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] SCP session complete, closing stdin pipe. | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Waiting for SSH session to complete. | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] scp stderr (length 32): Sink: C0644 2231 script_7053.sh | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] starting remote command: chmod 0755 /tmp/script_7053.sh | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:32 [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] starting remote command: echo '<sensitive>' | PACKER_BUILDER_TYPE='vsphere-iso' PACKER_BUILD_NAME='linux_alma' PACKER_HTTP_ADDR='1.2.3.4:8980' PACKER_HTTP_IP='1.2.3.4' PACKER_HTTP_PORT='8980' sudo -S -E sh -eux '/tmp/script_7053.sh' | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + mkdir /usr/src/scripts[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + touch /usr/src/scripts/dymotd[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + chmod +x /usr/src/scripts/dymotd[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + echo -n /usr/src/scripts/dymotd[0m | |
[1;31m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: + cat[0m | |
2021/10/19 14:22:32 [INFO] 0 bytes written for 'stdout' | |
2021/10/19 14:22:32 [INFO] 132 bytes written for 'stderr' | |
2021/10/19 14:22:32 [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: [INFO] 0 bytes written for 'stdout' | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: [INFO] 132 bytes written for 'stderr' | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] starting remote command: rm -f /tmp/script_7053.sh | |
2021/10/19 14:22:32 [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] Opening new ssh session | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [DEBUG] starting remote command: rm -f | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:32 [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:32 [INFO] RPC endpoint: Communicator ended with: 0 | |
2021/10/19 14:22:32 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0 | |
2021/10/19 14:22:32 [INFO] (telemetry) ending shell | |
[1;32m2021-10-19T14:22:32+01:00: ==> vsphere-iso.linux_alma: Shutting down VM...[0m | |
2021/10/19 14:22:32 packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64 plugin: 2021/10/19 14:22:32 Waiting max 5m0s for shutdown to complete | |
[1;32m2021-10-19T14:22:43+01:00: ==> vsphere-iso.linux_alma: Deleting Floppy drives...[0m | |
[1;32m2021-10-19T14:22:43+01:00: ==> vsphere-iso.linux_alma: Eject CD-ROM drives...[0m | |
[1;32m2021-10-19T14:22:43+01:00: ==> vsphere-iso.linux_alma: Convert VM into template...[0m | |
[1;32m2021-10-19T14:22:43+01:00: ==> vsphere-iso.linux_alma: Clear boot order...[0m | |
[1;32m2021-10-19T14:22:43+01:00: ==> vsphere-iso.linux_alma: Importing VM OVF template linux_alma_core_x64_packer to Content Library...[0m | |
[1;32m2021-10-19T14:23:00+01:00: Build 'vsphere-iso.linux_alma' finished after 10 minutes 31 seconds.[0m | |
==> Wait completed after 10 minutes 31 seconds | |
2021/10/19 14:23:00 [INFO] (telemetry) ending vsphere-iso.linux_alma | |
==> Wait completed after 10 minutes 31 seconds | |
==> Builds finished. The artifacts of successful builds are: | |
==> Builds finished. The artifacts of successful builds are: | |
2021/10/19 14:23:00 machine readable: vsphere-iso.linux_alma,artifact-count []string{"1"} | |
2021/10/19 14:23:00 machine readable: vsphere-iso.linux_alma,artifact []string{"0", "builder-id", "jetbrains.vsphere"} | |
2021/10/19 14:23:00 machine readable: vsphere-iso.linux_alma,artifact []string{"0", "id", "linux_alma_core_x64_packer"} | |
2021/10/19 14:23:00 machine readable: vsphere-iso.linux_alma,artifact []string{"0", "string", "linux_alma_core_x64_packer"} | |
--> vsphere-iso.linux_alma: linux_alma_core_x64_packer | |
2021/10/19 14:23:00 machine readable: vsphere-iso.linux_alma,artifact []string{"0", "files-count", "0"} | |
2021/10/19 14:23:00 machine readable: vsphere-iso.linux_alma,artifact []string{"0", "end"} | |
2021/10/19 14:23:00 [INFO] (telemetry) Finalizing. | |
2021/10/19 14:23:00 waiting for all plugin processes to complete... | |
2021/10/19 14:23:00 /home/gitlab-runner/.packer.d/plugins/github.com/hashicorp/vsphere/packer-plugin-vsphere_v1.0.1_x5.0_linux_amd64: plugin process exited | |
2021/10/19 14:23:00 /usr/sbin/packer: plugin process exited | |
section_end:1634649780:step_script | |
[0Ksection_start:1634649780:cleanup_file_variables | |
[0K[0K[36;1mCleaning up project directory and file based variables[0;m[0;m | |
section_end:1634649780:cleanup_file_variables | |
[0K[32;1mJob succeeded[0;m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment