Skip to content

Instantly share code, notes, and snippets.

@patsevanton
Created November 30, 2020 05:15
Show Gist options
  • Save patsevanton/226ec818beb76e6e89e56f2a4395a512 to your computer and use it in GitHub Desktop.
Save patsevanton/226ec818beb76e6e89e56f2a4395a512 to your computer and use it in GitHub Desktop.
Terraform
resource "vcd_vapp_vm" "apatsev-env" {
vapp_name = vcd_vapp.apatsev.name
name = "rhel-78"
catalog_name = "xxxxxxxxx"
template_name = "rhel-78"
memory = 8192
cpus = 4
cpu_cores = 2
network {
type = "org"
name = vcd_vapp_org_network.vapp-network.org_network_name
ip = "192.168.22.2"
ip_allocation_mode = "MANUAL"
}
guest_properties = {
"guestinfo.hostname" = "apatsev-test-vm"
}
customization {
enabled = true
allow_local_admin_password = true
admin_password = "xxxxxxxx"
auto_generate_password = false
initscript = <<-EOT
systemctl disable firewalld
systemctl stop firewalld
setenforce 0
EOT
}
depends_on = [vcd_vapp.apatsev]
}
log /var/log/vmware-imc/toolsDeployPkg.log on RedHat 7.8
[2020-11-30T04:54:17.927Z] [ debug] ## Starting deploy pkg operation
[2020-11-30T04:54:17.927Z] [ debug] Deploying /var/run/439fba55/cust4394768728838845068.cab
[2020-11-30T04:54:17.927Z] [ info] Initializing deployment module.
[2020-11-30T04:54:17.927Z] [ info] Cleaning old state file from tmp directory.
[2020-11-30T04:54:17.927Z] [ info] EXIT STATE INPROGRESS
[2020-11-30T04:54:17.927Z] [ debug] Setting deploy error: Error removing lock /tmp/.vmware-deploy.INPROGRESS (No such file or directory)
[2020-11-30T04:54:17.927Z] [ info] EXIT STATE Done
[2020-11-30T04:54:17.949Z] [ info] EXIT STATE ERRORED
[2020-11-30T04:54:17.949Z] [ debug] Setting deploy error: Error removing lock /tmp/.vmware-deploy.ERRORED (No such file or directory)
[2020-11-30T04:54:17.949Z] [ debug] Setting deploy error: Success.
[2020-11-30T04:54:17.949Z] [ info] Deploying cabinet file /var/run/439fba55/cust4394768728838845068.cab.
[2020-11-30T04:54:17.949Z] [ info] Transitioning from state (null) to state INPROGRESS.
[2020-11-30T04:54:17.949Z] [ info] ENTER STATE INPROGRESS
[2020-11-30T04:54:17.950Z] [ info] Reading cabinet file /var/run/439fba55/cust4394768728838845068.cab and will extract it to /var/run/.vmware-imgcust-dcduSvc.
[2020-11-30T04:54:17.950Z] [ info] Flags in the header: 0
[2020-11-30T04:54:17.950Z] [ info] Original deployment command: /usr/bin/perl -I/tmp/.vmware/linux/deploy/scripts /tmp/.vmware/linux/deploy/scripts/Customize.pl /tmp/.vmware/linux/deploy/cust.cfg
[2020-11-30T04:54:17.950Z] [ info] Actual deployment command: /usr/bin/perl -I/var/run/.vmware-imgcust-dcduSvc/scripts /var/run/.vmware-imgcust-dcduSvc/scripts/Customize.pl /var/run/.vmware-imgcust-dcduSvc/cust.cfg
[2020-11-30T04:54:17.950Z] [ info] Extracting package files.
[2020-11-30T04:54:17.965Z] [ debug] Check if cust.cfg exists.
[2020-11-30T04:54:17.965Z] [ info] cust.cfg is found in '/var/run/.vmware-imgcust-dcduSvc' directory.
[2020-11-30T04:54:17.965Z] [ debug] Command to exec : /usr/bin/cloud-init
[2020-11-30T04:54:17.965Z] [ info] sizeof ProcessInternal is 56
[2020-11-30T04:54:17.966Z] [ info] Returning, pending output from stdout
[2020-11-30T04:54:17.966Z] [ info] Returning, pending output from stderr
[2020-11-30T04:54:27.581Z] [ info] Process exited normally after 9 seconds, returned 1
[2020-11-30T04:54:27.582Z] [ info] No more output from stdout
[2020-11-30T04:54:27.582Z] [ info] Saving output from stderr
[2020-11-30T04:54:27.582Z] [ info] Saving output from stderr
[2020-11-30T04:54:27.582Z] [ info] Saving output from stderr
[2020-11-30T04:54:27.582Z] [ info] No more output from stderr
[2020-11-30T04:54:27.582Z] [ info] Customization command output:
[2020-11-30T04:54:27.582Z] [ error] Customization command failed with exitcode: 1, stderr: Traceback (most recent call last):
File "/usr/bin/cloud-init", line 9, in <module>
load_entry_point('cloud-init==19.4', 'console_scripts', 'cloud-init')()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python2.7/site-packages/cloudinit/cmd/main.py", line 26, in <module>
from cloudinit import netinfo
File "/usr/lib/python2.7/site-packages/cloudinit/netinfo.py", line 15, in <module>
from cloudinit.net.network_state import net_prefix_to_ipv4_mask
File "/usr/lib/python2.7/site-packages/cloudinit/net/__init__.py", line 14, in <module>
from cloudinit.net.network_state import mask_to_net_prefix
File "/usr/lib/python2.7/site-packages/cloudinit/net/network_state.py", line 16, in <module>
from cloudinit import util
File "/usr/lib/python2.7/site-packages/cloudinit/util.py", line 48, in <module>
from cloudinit import url_helper
File "/usr/lib/python2.7/site-packages/cloudinit/url_helper.py", line 14, in <module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 58, in <module>
from . import utils
File "/usr/lib/python2.7/site-packages/requests/utils.py", line 32, in <module>
from .exceptions import InvalidURL
File "/usr/lib/python2.7/site-packages/requests/exceptions.py", line 10, in <module>
from urllib3.exceptions import HTTPError as BaseHTTPError
File "/usr/lib/python2.7/site-packages/urllib3/__init__.py", line 10, in <module>
from .connectionpool import (
File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 31, in <module>
from .connection import (
File "/usr/lib/python2.7/site-packages/urllib3/connection.py", line 45, in <module>
from .util.ssl_ import (
File "/usr/lib/python2.7/site-packages/urllib3/util/__init__.py", line 5, in <module>
from .request import SKIP_HEADER, SKIPPABLE_HEADERS, make_headers
File "/usr/lib/python2.7/site-packages/urllib3/util/request.py", line 5, in <module>
from ..exceptions import UnrewindableBodyError
ImportError: cannot import name UnrewindableBodyError
[2020-11-30T04:54:27.582Z] [ info] cloud-init is not installed
[2020-11-30T04:54:27.582Z] [ info] Executing traditional GOSC workflow
[2020-11-30T04:54:27.582Z] [ debug] Command to exec : /usr/bin/perl
[2020-11-30T04:54:27.582Z] [ info] sizeof ProcessInternal is 56
[2020-11-30T04:54:27.582Z] [ info] Returning, pending output from stdout
[2020-11-30T04:54:27.582Z] [ info] Returning, pending output from stderr
[2020-11-30T04:54:28.885Z] [ info] Saving output from stdout
[2020-11-30T04:54:28.885Z] [ info] Saving output from stdout
[2020-11-30T04:54:28.885Z] [ info] Saving output from stdout
[2020-11-30T04:54:28.885Z] [ info] Saving output from stdout
[2020-11-30T04:54:28.885Z] [ info] Saving output from stdout
[2020-11-30T04:54:28.885Z] [ info] Saving output from stdout
[2020-11-30T04:54:28.885Z] [ info] Saving output from stdout
[2020-11-30T04:54:28.885Z] [ info] Saving output from stdout
[2020-11-30T04:54:29.085Z] [ info] Saving output from stdout
[2020-11-30T04:54:29.185Z] [ info] Saving output from stdout
[2020-11-30T04:54:29.185Z] [ info] Saving output from stdout
[2020-11-30T04:54:29.185Z] [ info] Saving output from stdout
[2020-11-30T04:54:29.286Z] [ info] Saving output from stdout
[2020-11-30T04:54:29.486Z] [ info] Saving output from stdout
[2020-11-30T04:54:29.486Z] [ info] Saving output from stdout
[2020-11-30T04:54:29.586Z] [ info] Saving output from stdout
[2020-11-30T04:54:30.992Z] [ info] Saving output from stdout
[2020-11-30T04:54:31.092Z] [ info] Saving output from stdout
[2020-11-30T04:54:31.092Z] [ info] Saving output from stdout
[2020-11-30T04:54:31.394Z] [ info] Saving output from stdout
[2020-11-30T04:54:31.595Z] [ info] Saving output from stdout
[2020-11-30T04:54:31.595Z] [ info] Saving output from stdout
[2020-11-30T04:54:31.595Z] [ info] Saving output from stdout
[2020-11-30T04:54:31.695Z] [ info] Saving output from stdout
[2020-11-30T04:54:31.695Z] [ info] Saving output from stdout
[2020-11-30T04:54:31.695Z] [ info] Saving output from stdout
[2020-11-30T04:54:31.695Z] [ info] Saving output from stdout
[2020-11-30T04:54:31.695Z] [ info] Saving output from stdout
[2020-11-30T04:54:31.795Z] [ info] Saving output from stdout
[2020-11-30T04:54:31.795Z] [ info] Saving output from stdout
[2020-11-30T04:54:31.995Z] [ info] Saving output from stdout
[2020-11-30T04:54:31.995Z] [ info] Saving output from stdout
[2020-11-30T04:54:31.995Z] [ info] Saving output from stdout
[2020-11-30T04:54:32.095Z] [ info] Saving output from stdout
[2020-11-30T04:54:32.195Z] [ info] Process exited normally after 4 seconds, returned 0
[2020-11-30T04:54:32.196Z] [ info] Saving output from stdout
[2020-11-30T04:54:32.196Z] [ info] No more output from stdout
[2020-11-30T04:54:32.196Z] [ info] No more output from stderr
[2020-11-30T04:54:32.196Z] [ info] Customization command output: 2020-11-30T04:54:28 DEBUG: Creating directory /var/lock/vmware
2020-11-30T04:54:28 DEBUG: Opening /var/lock/vmware/gosc in O_CREAT|O_EXCL|O_WRONLY mode
2020-11-30T04:54:28 INFO: Opening file name /var/run/.vmware-imgcust-dcduSvc/cust.cfg.
2020-11-30T04:54:28 DEBUG: Processing line: '[NETWORK]'
2020-11-30T04:54:28 DEBUG: FOUND CATEGORY = NETWORK
2020-11-30T04:54:28 DEBUG: Processing line: 'NETWORKING = yes'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'NETWORK|NETWORKING' = 'yes'
2020-11-30T04:54:28 DEBUG: Processing line: 'BOOTPROTO = dhcp'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'NETWORK|BOOTPROTO' = 'dhcp'
2020-11-30T04:54:28 DEBUG: Processing line: 'HOSTNAME = rhel-78-16g'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'NETWORK|HOSTNAME' = 'rhel-78-16g'
2020-11-30T04:54:28 DEBUG: Processing line: ''
2020-11-30T04:54:28 DEBUG: Empty line. Ignored.
2020-11-30T04:54:28 DEBUG: Processing line: '[NIC-CONFIG]'
2020-11-30T04:54:28 DEBUG: FOUND CATEGORY = NIC-CONFIG
2020-11-30T04:54:28 DEBUG: Processing line: 'NICS = NIC1'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'NIC-CONFIG|NICS' = 'NIC1'
2020-11-30T04:54:28 DEBUG: Processing line: ''
2020-11-30T04:54:28 DEBUG: Empty line. Ignored.
2020-11-30T04:54:28 DEBUG: Processing line: '[NIC1]'
2020-11-30T04:54:28 DEBUG: FOUND CATEGORY = NIC1
2020-11-30T04:54:28 DEBUG: Processing line: 'MACADDR = 00:50:56:01:81:d2'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'NIC1|MACADDR' = '00:50:56:01:81:d2'
2020-11-30T04:54:28 DEBUG: Processing line: 'PRIMARY = yes'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'NIC1|PRIMARY' = 'yes'
2020-11-30T04:54:28 DEBUG: Processing line: 'ONBOOT = yes'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'NIC1|ONBOOT' = 'yes'
2020-11-30T04:54:28 DEBUG: Processing line: 'IPv4_MODE = BACKWARDS_COMPATIBLE'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'NIC1|IPv4_MODE' = 'BACKWARDS_COMPATIBLE'
2020-11-30T04:54:28 DEBUG: Processing line: 'BOOTPROTO = static'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'NIC1|BOOTPROTO' = 'static'
2020-11-30T04:54:28 DEBUG: Processing line: 'IPADDR = 192.168.22.2'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'NIC1|IPADDR' = '192.168.22.2'
2020-11-30T04:54:28 DEBUG: Processing line: 'NETMASK = 255.255.255.0'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'NIC1|NETMASK' = '255.255.255.0'
2020-11-30T04:54:28 DEBUG: Processing line: 'GATEWAY = 192.168.22.1'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'NIC1|GATEWAY' = '192.168.22.1'
2020-11-30T04:54:28 DEBUG: Processing line: ''
2020-11-30T04:54:28 DEBUG: Empty line. Ignored.
2020-11-30T04:54:28 DEBUG: Processing line: ''
2020-11-30T04:54:28 DEBUG: Empty line. Ignored.
2020-11-30T04:54:28 DEBUG: Processing line: '[DNS]'
2020-11-30T04:54:28 DEBUG: FOUND CATEGORY = DNS
2020-11-30T04:54:28 DEBUG: Processing line: 'DNSFROMDHCP=no'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'DNS|DNSFROMDHCP' = 'no'
2020-11-30T04:54:28 DEBUG: Processing line: ''
2020-11-30T04:54:28 DEBUG: Empty line. Ignored.
2020-11-30T04:54:28 DEBUG: Processing line: 'NAMESERVER|1 = 8.8.8.8'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'DNS|NAMESERVER|1' = '8.8.8.8'
2020-11-30T04:54:28 DEBUG: Processing line: ''
2020-11-30T04:54:28 DEBUG: Empty line. Ignored.
2020-11-30T04:54:28 DEBUG: Processing line: '[MISC]'
2020-11-30T04:54:28 DEBUG: FOUND CATEGORY = MISC
2020-11-30T04:54:28 DEBUG: Processing line: 'MARKER-ID=8313af67-5827-4aaf-a882-9fd0655fd74a'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'MISC|MARKER-ID' = '8313af67-5827-4aaf-a882-9fd0655fd74a'
2020-11-30T04:54:28 DEBUG: Processing line: 'POST-GC-STATUS=yes'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'MISC|POST-GC-STATUS' = 'yes'
2020-11-30T04:54:28 DEBUG: Processing line: 'DEFAULT-RUN-POST-CUST-SCRIPT=yes'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'MISC|DEFAULT-RUN-POST-CUST-SCRIPT' = 'yes'
2020-11-30T04:54:28 DEBUG: Processing line: ''
2020-11-30T04:54:28 DEBUG: Empty line. Ignored.
2020-11-30T04:54:28 DEBUG: Processing line: '[CUSTOM-SCRIPT]'
2020-11-30T04:54:28 DEBUG: FOUND CATEGORY = CUSTOM-SCRIPT
2020-11-30T04:54:28 DEBUG: Processing line: 'SCRIPT-NAME=script4054875611073281045.bat'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'CUSTOM-SCRIPT|SCRIPT-NAME' = 'script4054875611073281045.bat'
2020-11-30T04:54:28 DEBUG: Processing line: ''
2020-11-30T04:54:28 DEBUG: Empty line. Ignored.
2020-11-30T04:54:28 DEBUG: Processing line: '[PASSWORD]'
2020-11-30T04:54:28 DEBUG: FOUND CATEGORY = PASSWORD
2020-11-30T04:54:28 DEBUG: Processing line: '***********************'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'PASSWORD|-PASS' = '*****************'
2020-11-30T04:54:28 DEBUG: Processing line: 'RESET=no'
2020-11-30T04:54:28 DEBUG: ADDED KEY-VAL :: 'PASSWORD|RESET' = 'no'
2020-11-30T04:54:28 DEBUG: Opening file /var/run/.vmware-imgcust-dcduSvc/buildInfo.txt.
2020-11-30T04:54:28 INFO: SYSIMAGE_VERSION = 11.2.0.273
2020-11-30T04:54:28 INFO: BUILDNUMBER = build-16808783
2020-11-30T04:54:28 DEBUG: Reading issue file ...
2020-11-30T04:54:28 DEBUG: Command: 'cat /etc/issue'
2020-11-30T04:54:28 DEBUG: Exit Code: 0
2020-11-30T04:54:28 DEBUG: Result: \S
Kernel \r on an \m
2020-11-30T04:54:28 DEBUG: file content: '\S
Kernel \r on an \m
'
2020-11-30T04:54:28 DEBUG: Reading issue file ...
2020-11-30T04:54:28 DEBUG: Command: 'cat /etc/issue'
2020-11-30T04:54:28 DEBUG: Exit Code: 0
2020-11-30T04:54:28 DEBUG: Result: \S
Kernel \r on an \m
2020-11-30T04:54:28 DEBUG: file content: '\S
Kernel \r on an \m
'
2020-11-30T04:54:28 DEBUG: Reading /etc/os-release file ...
2020-11-30T04:54:28 DEBUG: opening file /etc/os-release.
2020-11-30T04:54:28 DEBUG: Match found : Line = ID="rhel"
2020-11-30T04:54:28 DEBUG: Actual String : "rhel"
2020-11-30T04:54:28 DEBUG: ID: "rhel"
2020-11-30T04:54:28 DEBUG: opening file /etc/os-release.
2020-11-30T04:54:28 DEBUG: Match found : Line = VERSION_ID="7.8"
2020-11-30T04:54:28 DEBUG: Actual String : "7.8"
2020-11-30T04:54:28 DEBUG: Version: "7.8"
2020-11-30T04:54:28 WARNING: Amazon Linux flavor not detected
2020-11-30T04:54:28 DEBUG: Reading issue file ...
2020-11-30T04:54:28 DEBUG: Command: 'cat /etc/issue'
2020-11-30T04:54:28 DEBUG: Exit Code: 0
2020-11-30T04:54:28 DEBUG: Result: \S
Kernel \r on an \m
2020-11-30T04:54:28 DEBUG: \S
Kernel \r on an \m
2020-11-30T04:54:28 DEBUG: Reading redhat-release file ...
2020-11-30T04:54:28 DEBUG: Command: 'cat /etc/redhat-release'
2020-11-30T04:54:28 DEBUG: Exit Code: 0
2020-11-30T04:54:28 DEBUG: Result: Red Hat Enterprise Linux Server release 7.8 (Maipo)
2020-11-30T04:54:28 DEBUG: Red Hat Enterprise Linux Server release 7.8 (Maipo)
2020-11-30T04:54:28 DEBUG: Detected flavor: 'Red Hat Enterprise Linux 7'
2020-11-30T04:54:28 INFO: Detected distribution: Red Hat Enterprise Linux 7
2020-11-30T04:54:28 DEBUG: Reading issue file ...
2020-11-30T04:54:28 DEBUG: Command: 'cat /etc/issue'
2020-11-30T04:54:28 DEBUG: Exit Code: 0
2020-11-30T04:54:28 DEBUG: Result: \S
Kernel \r on an \m
2020-11-30T04:54:28 DEBUG: \S
Kernel \r on an \m
2020-11-30T04:54:28 DEBUG: Reading redhat-release file ...
2020-11-30T04:54:28 DEBUG: Command: 'cat /etc/redhat-release'
2020-11-30T04:54:28 DEBUG: Exit Code: 0
2020-11-30T04:54:28 DEBUG: Result: Red Hat Enterprise Linux Server release 7.8 (Maipo)
2020-11-30T04:54:28 DEBUG: Red Hat Enterprise Linux Server release 7.8 (Maipo)
2020-11-30T04:54:28 DEBUG: Detected flavor: 'Red Hat Enterprise Linux 7'
2020-11-30T04:54:28 INFO: Detected distribution flavour: Red Hat Enterprise Linux 7
2020-11-30T04:54:28 INFO: Customization instance RHEL7Customization loaded.
2020-11-30T04:54:28 INFO: Get Tools Daemon Command Line
2020-11-30T04:54:28 DEBUG: Command: 'ps -C vmtoolsd -o cmd='
2020-11-30T04:54:29 DEBUG: Exit Code: 0
2020-11-30T04:54:29 DEBUG: Result: /usr/bin/vmtoolsd
2020-11-30T04:54:29 DEBUG: Command: '/usr/bin/vmtoolsd --cmd "info-set guestinfo.gc.status Started"'
2020-11-30T04:54:29 DEBUG: Exit Code: 0
2020-11-30T04:54:29 DEBUG: Result:
2020-11-30T04:54:29 INFO: Customization started
2020-11-30T04:54:29 DEBUG: Command: 'perl --version'
2020-11-30T04:54:29 DEBUG: Exit Code: 0
2020-11-30T04:54:29 DEBUG: Result:
This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux-thread-multi
(with 40 registered patches, see perl -V for more detail)
Copyright 1987-2012, Larry Wall
Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
2020-11-30T04:54:29 DEBUG: Command: 'hostname 2>/dev/null'
2020-11-30T04:54:29 DEBUG: Exit Code: 0
2020-11-30T04:54:29 DEBUG: Result: rhel-78-16g
2020-11-30T04:54:29 DEBUG: TimedCommand: 'hostname -f 2>/dev/null' with timeout of 5 sec
2020-11-30T04:54:29 DEBUG: Fetching result from /tmp/timed_out_tmp_file_856
2020-11-30T04:54:29 DEBUG: TimedResult: rhel-78-16g
2020-11-30T04:54:29 INFO: OLD HOST NAME = rhel-78-16g
2020-11-30T04:54:29 INFO: Reads value of the deployPkg enable-custom-scripts
2020-11-30T04:54:29 DEBUG: Command: 'vmware-toolbox-cmd config get "deployPkg" "enable-custom-scripts" 2>/tmp/guest.customization.stderr'
2020-11-30T04:54:29 DEBUG: Exit Code: 69
2020-11-30T04:54:29 DEBUG: Result: [deployPkg] enable-custom-scripts UNSET
2020-11-30T04:54:29 DEBUG: Stderr:
2020-11-30T04:54:29 DEBUG: Couldn't get value, return default value: true
2020-11-30T04:54:29 INFO: Handling pre-customization ...
2020-11-30T04:54:29 INFO: RunCustomScript invoked in '/var/run/.vmware-imgcust-dcduSvc/' for 'precustomization'
' > /var/run/.vmware-imgcust-dcduSvc//script4054875611073281045.bat.tmp' duSvc//script4054875611073281045.bat | /usr/bin/tr -d '
2020-11-30T04:54:29 DEBUG: Exit Code: 0
2020-11-30T04:54:29 DEBUG: Result:
2020-11-30T04:54:29 DEBUG: Command: '/bin/mv -f /var/run/.vmware-imgcust-dcduSvc//script4054875611073281045.bat.tmp /var/run/.vmware-imgcust-dcduSvc//script4054875611073281045.bat'
2020-11-30T04:54:29 DEBUG: Exit Code: 0
2020-11-30T04:54:29 DEBUG: Result:
2020-11-30T04:54:29 DEBUG: Command: '/bin/cp /var/run/.vmware-imgcust-dcduSvc//script4054875611073281045.bat /root/.customization/customize.sh'
2020-11-30T04:54:29 DEBUG: Exit Code: 0
2020-11-30T04:54:29 DEBUG: Result:
2020-11-30T04:54:29 DEBUG: Command: '/bin/chmod u+x /root/.customization/customize.sh'
2020-11-30T04:54:29 DEBUG: Exit Code: 0
2020-11-30T04:54:29 DEBUG: Result:
2020-11-30T04:54:29 INFO: Executing pre-customization script...
2020-11-30T04:54:29 INFO: precustomization
2020-11-30T04:54:29 DEBUG: Command: '/root/.customization/customize.sh "precustomization"'
2020-11-30T04:54:29 DEBUG: Exit Code: 0
2020-11-30T04:54:29 DEBUG: Result:
2020-11-30T04:54:29 INFO: RunCustomScript has completed
2020-11-30T04:54:29 INFO: Customizing Network settings ...
2020-11-30T04:54:29 DEBUG: opening file /etc/sysconfig/network-scripts/ifcfg-ens192.
2020-11-30T04:54:29 DEBUG: DHCPV6C is ''
2020-11-30T04:54:29 DEBUG: opening file /etc/sysconfig/network-scripts/ifcfg-ens192.
2020-11-30T04:54:29 DEBUG: DHCPV6C_OPTIONS is ''
2020-11-30T04:54:29 DEBUG: opening file /etc/sysconfig/network-scripts/ifcfg-ens192.
2020-11-30T04:54:29 DEBUG: Match found : Line = IPV6_AUTOCONF=yes
2020-11-30T04:54:29 DEBUG: Actual String : yes
2020-11-30T04:54:29 DEBUG: IPV6_AUTOCONF is 'yes'
2020-11-30T04:54:29 DEBUG: opening file /etc/sysconfig/network-scripts/ifcfg-ens192.
2020-11-30T04:54:29 DEBUG: Match found : Line = IPV6INIT=yes
2020-11-30T04:54:29 DEBUG: Actual String : yes
2020-11-30T04:54:29 DEBUG: IPV6INIT is 'yes'
2020-11-30T04:54:29 DEBUG: opening file /etc/sysconfig/network-scripts/ifcfg-lo.
2020-11-30T04:54:29 DEBUG: DHCPV6C is ''
2020-11-30T04:54:29 DEBUG: opening file /etc/sysconfig/network-scripts/ifcfg-lo.
2020-11-30T04:54:29 DEBUG: DHCPV6C_OPTIONS is ''
2020-11-30T04:54:29 DEBUG: opening file /etc/sysconfig/network-scripts/ifcfg-lo.
2020-11-30T04:54:29 DEBUG: IPV6_AUTOCONF is ''
2020-11-30T04:54:29 DEBUG: opening file /etc/sysconfig/network-scripts/ifcfg-lo.
2020-11-30T04:54:29 DEBUG: IPV6INIT is ''
2020-11-30T04:54:29 INFO: Removing old interface configuration files.
2020-11-30T04:54:29 DEBUG: Command: 'rm -f /etc/sysconfig/network-scripts/ifcfg-eth*'
2020-11-30T04:54:29 DEBUG: Exit Code: 0
2020-11-30T04:54:29 DEBUG: Result:
2020-11-30T04:54:29 INFO: Erasing DHCP leases
2020-11-30T04:54:29 DEBUG: Command: 'pkill dhclient'
2020-11-30T04:54:29 DEBUG: Exit Code: 1
2020-11-30T04:54:29 DEBUG: Result:
2020-11-30T04:54:29 DEBUG: Command: 'rm -rf /var/lib/dhcp/*'
2020-11-30T04:54:29 DEBUG: Exit Code: 0
2020-11-30T04:54:29 DEBUG: Result:
2020-11-30T04:54:29 DEBUG: Command: 'rm -rf /var/lib/dhclient/*'
2020-11-30T04:54:29 DEBUG: Exit Code: 0
2020-11-30T04:54:29 DEBUG: Result:
2020-11-30T04:54:29 INFO: Resetting Network Administration Tool (redhat-config-network)
2020-11-30T04:54:29 DEBUG: Command: 'rm -rf /etc/sysconfig/networking/devices'
2020-11-30T04:54:29 DEBUG: Exit Code: 0
2020-11-30T04:54:29 DEBUG: Result:
2020-11-30T04:54:29 DEBUG: Command: 'rm -rf /etc/sysconfig/networking/profiles'
2020-11-30T04:54:29 DEBUG: Exit Code: 0
2020-11-30T04:54:29 DEBUG: Result:
2020-11-30T04:54:29 INFO: Primary NIC is 00:50:56:01:81:d2
2020-11-30T04:54:29 DEBUG: Command: 'whereis ip'
2020-11-30T04:54:30 DEBUG: Exit Code: 0
2020-11-30T04:54:30 DEBUG: Result: ip: /usr/sbin/ip /usr/share/man/man7/ip.7.gz /usr/share/man/man8/ip.8.gz
2020-11-30T04:54:30 DEBUG: Command: '/usr/sbin/ip addr show 2>&1'
2020-11-30T04:54:30 DEBUG: Exit Code: 0
2020-11-30T04:54:30 DEBUG: Result: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:50:56:01:81:d2 brd ff:ff:ff:ff:ff:ff
2020-11-30T04:54:30 DEBUG: opening file /etc/sysconfig/network.
2020-11-30T04:54:30 DEBUG: Line : # Created by anaconda
2020-11-30T04:54:30 DEBUG: Line : NETWORKING=yes
2020-11-30T04:54:30 DEBUG: Line : HOSTNAME=rhel-78-16g
2020-11-30T04:54:30 DEBUG: Line : GATEWAYDEV=ens192
2020-11-30T04:54:30 INFO: Found GATEWAYDEV and patched with ens192
2020-11-30T04:54:30 DEBUG: Line : GATEWAY=192.168.22.1
2020-11-30T04:54:30 INFO: Found GATEWAY
2020-11-30T04:54:30 INFO: Patched with 192.168.22.1
2020-11-30T04:54:30 DEBUG: opening file for writing (/etc/sysconfig/network).
2020-11-30T04:54:30 DEBUG: Command: 'chmod 644 /etc/sysconfig/network'
2020-11-30T04:54:30 DEBUG: Exit Code: 0
2020-11-30T04:54:30 DEBUG: Result:
2020-11-30T04:54:30 DEBUG: Command: 'hostname rhel-78-16g'
2020-11-30T04:54:30 DEBUG: Exit Code: 0
2020-11-30T04:54:30 DEBUG: Result:
2020-11-30T04:54:30 DEBUG: opening file for writing (/etc/hostname).
2020-11-30T04:54:30 DEBUG: Command: 'chmod 644 /etc/hostname'
2020-11-30T04:54:30 DEBUG: Exit Code: 0
2020-11-30T04:54:30 DEBUG: Result:
2020-11-30T04:54:30 INFO: Customizing NICS ...
2020-11-30T04:54:30 DEBUG: Command: 'modprobe pcnet32 2> /dev/null'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result:
2020-11-30T04:54:31 DEBUG: Command: '/sbin/ifconfig eth0 2> /dev/null'
2020-11-30T04:54:31 DEBUG: Exit Code: 1
2020-11-30T04:54:31 DEBUG: Result:
2020-11-30T04:54:31 INFO: Customizing NICS. { NIC1 }
2020-11-30T04:54:31 INFO: Customizing NIC NIC1
2020-11-30T04:54:31 DEBUG: Command: 'whereis ip'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result: ip: /usr/sbin/ip /usr/share/man/man7/ip.7.gz /usr/share/man/man8/ip.8.gz
2020-11-30T04:54:31 DEBUG: Command: '/usr/sbin/ip addr show 2>&1'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:50:56:01:81:d2 brd ff:ff:ff:ff:ff:ff
2020-11-30T04:54:31 DEBUG: Deleting 0 files...
2020-11-30T04:54:31 DEBUG: Command: 'whereis ip'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result: ip: /usr/sbin/ip /usr/share/man/man7/ip.7.gz /usr/share/man/man8/ip.8.gz
2020-11-30T04:54:31 DEBUG: Command: '/usr/sbin/ip addr show 2>&1'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:50:56:01:81:d2 brd ff:ff:ff:ff:ff:ff
2020-11-30T04:54:31 INFO: Writing ifcfg file for NIC suffix = ens192
2020-11-30T04:54:31 INFO: Query config for ^(DNS\|NAMESERVER\|)
2020-11-30T04:54:31 DEBUG: Match Found : DNS|NAMESERVER|1
2020-11-30T04:54:31 DEBUG: 0
2020-11-30T04:54:31 INFO: Query config for ^(DNS\|SUFFIX\|)
2020-11-30T04:54:31 INFO: Query config for ^NIC1(\|IPv6GATEWAY\|)
2020-11-30T04:54:31 INFO: Query config for ^(NIC1\|IPv6ADDR\|)
2020-11-30T04:54:31 INFO: Query config for ^(NIC1\|IPv6NETMASK\|)
2020-11-30T04:54:31 DEBUG: Command: 'whereis ip'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result: ip: /usr/sbin/ip /usr/share/man/man7/ip.7.gz /usr/share/man/man8/ip.8.gz
2020-11-30T04:54:31 DEBUG: Command: '/usr/sbin/ip addr show 2>&1'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:50:56:01:81:d2 brd ff:ff:ff:ff:ff:ff
2020-11-30T04:54:31 INFO: Applying IPV6INIT from the original configuration
2020-11-30T04:54:31 INFO: Applying IPV6_AUTOCONF from the original configuration
2020-11-30T04:54:31 DEBUG: opening file for writing (/etc/sysconfig/network-scripts/ifcfg-ens192).
2020-11-30T04:54:31 DEBUG: Command: 'chmod 644 /etc/sysconfig/network-scripts/ifcfg-ens192'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result:
2020-11-30T04:54:31 INFO: Query config for ^NIC1(\|IPv6GATEWAY\|)
2020-11-30T04:54:31 INFO: Customizing Hosts file ...
2020-11-30T04:54:31 DEBUG: Old hostname=[rhel-78-16g]
2020-11-30T04:54:31 DEBUG: Old FQDN=[rhel-78-16g]
2020-11-30T04:54:31 DEBUG: New hostname=[rhel-78-16g]
2020-11-30T04:54:31 DEBUG: Building FQDN. HostnameFQDN: rhel-78-16g, Domainname:
2020-11-30T04:54:31 DEBUG: New FQDN=[rhel-78-16g]
2020-11-30T04:54:31 DEBUG: opening file /etc/hosts.
2020-11-30T04:54:31 DEBUG: Line (inp): 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
2020-11-30T04:54:31 DEBUG: Line (inp): ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
2020-11-30T04:54:31 DEBUG: Line (inp):
2020-11-30T04:54:31 DEBUG: Line (inp):
2020-11-30T04:54:31 DEBUG: Line (inp): ::1 rhel-78-16g
2020-11-30T04:54:31 DEBUG: Replacing [rhel-78-16g]
2020-11-30T04:54:31 DEBUG: Adding [rhel-78-16g]
2020-11-30T04:54:31 DEBUG: Line (inp):
2020-11-30T04:54:31 DEBUG: Line (inp): 192.168.22.2 rhel-78-16g
2020-11-30T04:54:31 DEBUG: Static ip entry added
2020-11-30T04:54:31 DEBUG: Line (out): 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
2020-11-30T04:54:31 DEBUG: Line (out): ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
2020-11-30T04:54:31 DEBUG: Line (out):
2020-11-30T04:54:31 DEBUG: Line (out):
2020-11-30T04:54:31 DEBUG: Line (out): ::1 rhel-78-16g
2020-11-30T04:54:31 DEBUG: Line (out):
2020-11-30T04:54:31 DEBUG: Line (out):
192.168.22.2 rhel-78-16g
2020-11-30T04:54:31 DEBUG: opening file for writing (/etc/hosts).
2020-11-30T04:54:31 DEBUG: Command: 'chmod 644 /etc/hosts'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result:
2020-11-30T04:54:31 INFO: Customizing DNS ...
2020-11-30T04:54:31 DEBUG: opening file /etc/nsswitch.conf.
2020-11-30T04:54:31 DEBUG: opening file for writing (/etc/nsswitch.conf).
2020-11-30T04:54:31 DEBUG: Command: 'chmod 644 /etc/nsswitch.conf'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result:
2020-11-30T04:54:31 INFO: Query config for ^(DNS\|SUFFIX\|)
2020-11-30T04:54:31 INFO: Query config for ^(DNS\|NAMESERVER\|)
2020-11-30T04:54:31 DEBUG: Match Found : DNS|NAMESERVER|1
2020-11-30T04:54:31 DEBUG: 0
2020-11-30T04:54:31 DEBUG: opening file for writing (/etc/resolv.conf).
2020-11-30T04:54:31 DEBUG: Command: 'chmod 644 /etc/resolv.conf'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result:
2020-11-30T04:54:31 INFO: Check if restorecon exists in /sbin
2020-11-30T04:54:31 DEBUG: Command: '/usr/bin/test -f /sbin/restorecon'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result:
2020-11-30T04:54:31 DEBUG: Command: '/sbin/restorecon /etc/resolv.conf'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result:
2020-11-30T04:54:31 DEBUG: Command: 'whereis ip'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result: ip: /usr/sbin/ip /usr/share/man/man7/ip.7.gz /usr/share/man/man8/ip.8.gz
2020-11-30T04:54:31 DEBUG: Command: '/usr/sbin/ip addr show 2>&1'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens192: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:50:56:01:81:d2 brd ff:ff:ff:ff:ff:ff
2020-11-30T04:54:31 INFO: Query config for ^(DNS\|SUFFIX\|)
2020-11-30T04:54:31 INFO: Query config for ^(DNS\|NAMESERVER\|)
2020-11-30T04:54:31 DEBUG: Match Found : DNS|NAMESERVER|1
2020-11-30T04:54:31 DEBUG: 0
2020-11-30T04:54:31 DEBUG: opening file for writing (/etc/dhclient-ens192.conf).
2020-11-30T04:54:31 DEBUG: Command: 'chmod 644 /etc/dhclient-ens192.conf'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result:
2020-11-30T04:54:31 DEBUG: Deleting 1 files...
2020-11-30T04:54:31 DEBUG: Deleting /etc/resolv.conf.sv...
2020-11-30T04:54:31 DEBUG: Skipping the delete: file doesn't exist or is a directory
2020-11-30T04:54:31 INFO: Customizing Date&Time ...
2020-11-30T04:54:31 INFO: Handling password settings ...
2020-11-30T04:54:31 INFO: Changing the password...
2020-11-30T04:54:31 DEBUG: Command: '/bin/cp -f /etc/shadow /etc/shadow.copy'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result:
2020-11-30T04:54:31 INFO: password utils
2020-11-30T04:54:31 DEBUG: Command: '**************'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Command: '/bin/rm -f /etc/shadow.copy'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result:
2020-11-30T04:54:31 INFO: Changing the password is complete
2020-11-30T04:54:31 INFO: Handling post-customization ...
2020-11-30T04:54:31 INFO: RunCustomScript invoked in '/var/run/.vmware-imgcust-dcduSvc/' for 'postcustomization'
' > /var/run/.vmware-imgcust-dcduSvc//script4054875611073281045.bat.tmp' duSvc//script4054875611073281045.bat | /usr/bin/tr -d '
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result:
2020-11-30T04:54:31 DEBUG: Command: '/bin/mv -f /var/run/.vmware-imgcust-dcduSvc//script4054875611073281045.bat.tmp /var/run/.vmware-imgcust-dcduSvc//script4054875611073281045.bat'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result:
2020-11-30T04:54:31 DEBUG: Command: '/bin/cp /var/run/.vmware-imgcust-dcduSvc//script4054875611073281045.bat /root/.customization/customize.sh'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result:
2020-11-30T04:54:31 DEBUG: Command: '/bin/chmod u+x /root/.customization/customize.sh'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result:
2020-11-30T04:54:31 DEBUG: Command: 'ps -p 1 | grep -so systemd | cat'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result: systemd
2020-11-30T04:54:31 INFO: Installing post-reboot customization agent in systemd init from '/var/run/.vmware-imgcust-dcduSvc/'...
2020-11-30T04:54:31 DEBUG: Command: '/bin/cp /var/run/.vmware-imgcust-dcduSvc//scripts/post-customize-guest.sh /root/.customization/post-customize-guest.sh'
2020-11-30T04:54:31 DEBUG: Exit Code: 0
2020-11-30T04:54:31 DEBUG: Result:
2020-11-30T04:54:31 INFO: /etc/systemd/system/post-customize.service exists, no need to create it.
2020-11-30T04:54:31 DEBUG: Command: 'systemctl enable post-customize.service>/dev/null 2>&1'
2020-11-30T04:54:32 DEBUG: Exit Code: 0
2020-11-30T04:54:32 DEBUG: Result:
2020-11-30T04:54:32 DEBUG: Command: 'systemctl is-enabled post-customize.service'
2020-11-30T04:54:32 DEBUG: Exit Code: 0
2020-11-30T04:54:32 DEBUG: Result: enabled
2020-11-30T04:54:32 INFO: Installing post-reboot customization agent in systemd init finished
2020-11-30T04:54:32 INFO: Scheduling post-customization script
2020-11-30T04:54:32 INFO: Creating post-reboot pending marker
2020-11-30T04:54:32 DEBUG: Command: '/bin/rm -f /.guest-customization-post-reboot-pending'
2020-11-30T04:54:32 DEBUG: Exit Code: 0
2020-11-30T04:54:32 DEBUG: Result:
2020-11-30T04:54:32 DEBUG: Command: '/bin/touch /.guest-customization-post-reboot-pending'
2020-11-30T04:54:32 DEBUG: Exit Code: 0
2020-11-30T04:54:32 DEBUG: Result:
2020-11-30T04:54:32 INFO: RunCustomScript has completed
2020-11-30T04:54:32 INFO: Handling marker creation ...
2020-11-30T04:54:32 DEBUG: Command: '/bin/rm -f /.markerfile-*.txt'
2020-11-30T04:54:32 DEBUG: Exit Code: 0
2020-11-30T04:54:32 DEBUG: Result:
2020-11-30T04:54:32 DEBUG: Command: '/bin/touch /.markerfile-8313af67-5827-4aaf-a882-9fd0655fd74a.txt'
2020-11-30T04:54:32 DEBUG: Exit Code: 0
2020-11-30T04:54:32 DEBUG: Result:
2020-11-30T04:54:32 INFO: Get Tools Daemon Command Line
2020-11-30T04:54:32 DEBUG: Command: 'ps -C vmtoolsd -o cmd='
2020-11-30T04:54:32 DEBUG: Exit Code: 0
2020-11-30T04:54:32 DEBUG: Result: /usr/bin/vmtoolsd
2020-11-30T04:54:32 DEBUG: Command: '/usr/bin/vmtoolsd --cmd "info-set guestinfo.gc.status Successful"'
2020-11-30T04:54:32 DEBUG: Exit Code: 0
2020-11-30T04:54:32 DEBUG: Result:
2020-11-30T04:54:32 INFO: Customization completed.
2020-11-30T04:54:32 DEBUG: Removing lock file /var/lock/vmware/gosc.
[2020-11-30T04:54:32.197Z] [ info] No nics to enable.
[2020-11-30T04:54:32.198Z] [ info] Transitioning from state INPROGRESS to state Done.
[2020-11-30T04:54:32.198Z] [ info] ENTER STATE Done
[2020-11-30T04:54:32.199Z] [ info] EXIT STATE INPROGRESS
[2020-11-30T04:54:32.199Z] [ info] Deployment succeeded.
[2020-11-30T04:54:32.199Z] [ info] Launching cleanup.
[2020-11-30T04:54:32.199Z] [ debug] Command to exec : /bin/rm
[2020-11-30T04:54:32.199Z] [ info] sizeof ProcessInternal is 56
[2020-11-30T04:54:32.199Z] [ info] Returning, pending output from stdout
[2020-11-30T04:54:32.199Z] [ info] Returning, pending output from stderr
[2020-11-30T04:54:32.299Z] [ info] Process exited normally after 0 seconds, returned 0
[2020-11-30T04:54:32.299Z] [ info] No more output from stdout
[2020-11-30T04:54:32.299Z] [ info] No more output from stderr
[2020-11-30T04:54:32.299Z] [ info] Customization command output:
[2020-11-30T04:54:32.299Z] [ info] sSkipReboot: false, forceSkipReboot false
[2020-11-30T04:54:32.300Z] [ debug] Ran DeployPkg_DeployPackageFromFile successfully
[2020-11-30T04:54:32.300Z] [ debug] ## Closing log
[2020-11-30T04:54:32.300Z] [ info] Rebooting
[2020-11-30T04:54:32.300Z] [ debug] Command to exec : /sbin/telinit
[2020-11-30T04:54:32.300Z] [ info] sizeof ProcessInternal is 56
[2020-11-30T04:54:32.300Z] [ info] Returning, pending output from stdout
[2020-11-30T04:54:32.300Z] [ info] Returning, pending output from stderr
[2020-11-30T04:54:32.392Z] [ error] Process exited abnormally after 0 sec, uncaught signal 15
[2020-11-30T04:54:32.392Z] [ info] No more output from stdout
[2020-11-30T04:54:32.392Z] [ info] No more output from stderr
[2020-11-30T04:54:32.392Z] [ info] Customization command output:
[2020-11-30T04:54:32.392Z] [ error] Customization command failed with exitcode: 127, stderr:
[2020-11-30T04:54:33.392Z] [ error] telinit returned error 127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment