hello 404 Not Found
Al-HUWAITI Shell
Al-huwaiti


Server : Apache/2.4.52 (Ubuntu)
System : Linux HAN2 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64
User : servadmin ( 1000)
PHP Version : 8.1.2-1ubuntu2.25
Disable Function : NONE
Directory :  /etc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //etc/xtract-guest.log
+ sourcefilepath=/etc/init.d/nutanix-move
+ echo 'Running /etc/init.d/nutanix-move'
Running /etc/init.d/nutanix-move
+ NUTANIX_MOVE_ARG=
+ xtractMainIP=
+ sudoterm=false
+ retainIP=false
+ skipretainIP=false
+ retainIPscript=
+ reconfigLVM=false
+ configureTempDisk=false
+ configureTempDiskscript=
+ uninstallVMwareTools=false
+ installNgt=false
+ uninstallVMwareToolsscript=
+ cleanup=false
+ cleanupscript=
+ freeBSD=false
+ isCustomIP=false
+ prepConfFilePath=
+ configeditPath=
+ '[' 0 -gt 0 ']'
+ date
Fri Jul 17 11:58:55 AM CDT 2026
+ name=nutanix_move
+ start_cmd=nutanix_move_start
+ stop_cmd=:
+ destfilepath=/etc/init.d/nutanix-move
+ SOURCE_ID_FILE=/etc/sourcevm-idfile
+ BSD_IFILE=/etc/rc.conf
+ ENABLE_MOVE='nutanix_move_enable="YES"'
+ DHCP_FILE=/etc/sourcevm-dhcpfile
+ SCRIPTS_DIR=/opt/Nutanix/Move/download/scripts
+ LVM_CONFIG_FILE=/etc/lvm/lvm.conf
+ BACKUP_SUFFIX=.bak
+ TEMPDISK_SIZE_FILE=/etc/tempdisk_sizefile
+ CLEANUP_DIR=/opt/Nutanix/Uninstall/scripts
+ cleanupscriptpath=/opt/Nutanix/Uninstall/scripts/cleanup_installation.sh
+ LOG_DIR=/opt/Nutanix/log
+ TARGET_SCRIPT_COMPLETED_STATUS_FILE=/opt/Nutanix/log/target-script-completed.txt
+ BASH_CMD=bash
+ SYSTEMD_PATH=/etc/systemd/system
+ UNINSTALL_VMWARETOOLS_TIMEOUT=180
+ INSTALL_NGT_TIMEOUT=1500
+ CONFIGURE_TEMP_DISK_TIMEOUT=180
+ RETAIN_IP_TIMEOUT=200
+ CLEANUP_SCRIPT_TIMEOUT=100
+ MISC_OPS_TIMEOUT=100
+ TOTAL_SCRIPTS_TIMEOUT=2080
+ NUTANIX_MOVE_SCRIPT_TIMEOUT=2500
+ CONF_DIR=/opt/Nutanix/Move/download/conf
+ PREP_CONF_FILE=/opt/Nutanix/Move/download/conf/pcf.json
+ BIN_DIR=/opt/Nutanix/Move/download/bin
+ CONFIGEDIT_PATH=/opt/Nutanix/Move/download/bin/configedit
+ rm /opt/Nutanix/log/target-script-completed.txt
rm: cannot remove '/opt/Nutanix/log/target-script-completed.txt': No such file or directory
+ rm /etc/target-script-completed.txt
rm: cannot remove '/etc/target-script-completed.txt': No such file or directory
+ '[' 2500 -lt 2080 ']'
+ uname
+ grep -i freebsd
+ errorVal=1
+ '[' 1 = 0 ']'
++ id -u
+ '[' false = true -a 0 '!=' 0 ']'
+ '[' false = true ']'
+ case "$NUTANIX_MOVE_ARG" in
+ write_log 'Starting script nutanix_move'
+ set +x
17-07-2026T11:58:55 INFO Starting script nutanix_move
+ return 0
+ do_start
+ '[' -f /etc/sourcevm-idfile ']'
++ cat /etc/sourcevm-idfile
+ srcUuid=ebae3942-7eeb-7611-f2cd-aca0e40e0776
+ vmUuid=
+ '[' false = true ']'
++ cat /sys/class/dmi/id/product_uuid
+ vmUuid=9fbeef44-f03d-4fd8-7949-b6c884e7b944
+ write_log 'NutanixMove : do_start with 9fbeef44-f03d-4fd8-7949-b6c884e7b944 ebae3942-7eeb-7611-f2cd-aca0e40e0776'
+ set +x
17-07-2026T11:58:55 INFO NutanixMove : do_start with 9fbeef44-f03d-4fd8-7949-b6c884e7b944 ebae3942-7eeb-7611-f2cd-aca0e40e0776
+ return 0
+ '[' ebae3942-7eeb-7611-f2cd-aca0e40e0776 = 9fbeef44-f03d-4fd8-7949-b6c884e7b944 ']'
+ do_target
+ cleanup_start_of_nutanix_move_service_on_restart
+ destfilename=nutanix-move
+ '[' false = true ']'
+ '[' -f /etc/redhat-release ']'
+ '[' -f /etc/debian_version ']'
+ rc=0
++ whereis systemctl
+ systemctlpath='systemctl: /usr/bin/systemctl /usr/share/man/man1/systemctl.1.gz'
+ '[' -z /usr/bin/systemctl /usr/share/man/man1/systemctl.1.gz ']'
/etc/init.d/nutanix-move: line 279: [: /usr/bin/systemctl: binary operator expected
+ systemctl disable nutanix-move.service
Synchronizing state of nutanix-move.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable nutanix-move
Removed /etc/systemd/system/multi-user.target.wants/nutanix-move.service.
+ rc=0
+ '[' 0 '!=' 0 ']'
+ destfilename=nutanix-move
+ clean_scripts=true
+ '[' false = true ']'
+ which timeout
/usr/bin/timeout
+ is_timeout=0
+ '[' -f /etc/lvm/lvm.conf.bak ']'
+ '[' -f /opt/Nutanix/Move/download/scripts/configureTempDisk.sh ']'
+ '[' -f /opt/Nutanix/Move/download/scripts/uninstallVMwareTools.sh ']'
+ write_log '*** Running uninstallVMwareTools script on target VM ***'
+ set +x
17-07-2026T11:58:56 INFO authentic-theme bin boot core dev etc home initrd.img initrd.img.old lib lib32 lib64 libx32 lost+found media mnt opt proc root run sbin snap srv sys tmp usr var vmlinuz vmlinuz.old webmin-setup.out wp-content www Running uninstallVMwareTools script on target VM authentic-theme bin boot core dev etc home initrd.img initrd.img.old lib lib32 lib64 libx32 lost+found media mnt opt proc root run sbin snap srv sys tmp usr var vmlinuz vmlinuz.old webmin-setup.out wp-content www
+ return 0
+ '[' 0 = 0 ']'
+ write_log 'Running the command using timeout'
+ set +x
17-07-2026T11:58:56 INFO Running the command using timeout
+ return 0
+ timeout -s SIGKILL 180 bash /opt/Nutanix/Move/download/scripts/uninstallVMwareTools.sh
Fri Jul 17 11:58:56 AM CDT 2026

*** Running Uninstall VMware Tools script on target VM ***

/usr/bin/vmware-toolbox-cmd
UninstallVMwareTools_debug : VMware tools installation found. Uninstalling VMware tools...
Package: open-vm-tools
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 3168
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Version: 2:12.3.5-3~ubuntu0.22.04.3
Replaces: open-vm-tools-sdmp (<< 2:12.1.0-2~)
Depends: libc6 (>= 2.34), libdrm2 (>= 2.4.3), libfuse3-3 (>= 3.2.3), libgcc-s1 (>= 3.3), libglib2.0-0 (>= 2.31.8), libmspack0 (>= 0.4), libssl3 (>= 3.0.0~~alpha1), libtirpc3 (>= 1.0.2), libudev1 (>= 183), libxml2 (>= 2.7.4), libxmlsec1 (>= 1.2.33), libxmlsec1-openssl (>= 1.2.33), pciutils, iproute2, lsb-release
Pre-Depends: init-system-helpers (>= 1.54~)
Recommends: ethtool, zerofree, fuse3
Suggests: open-vm-tools-desktop, cloud-init, open-vm-tools-containerinfo, open-vm-tools-salt-minion
Breaks: open-vm-tools-sdmp (<< 2:12.1.0-2~)
Conffiles:
 /etc/init.d/open-vm-tools aeead08272288e4dfbaaf30d0c250726
 /etc/pam.d/vmtoolsd c8d3eb12e396c1824018eea75e5f9d56
 /etc/vmware-tools/poweroff-vm-default 4debf78c9ecf29b9fac22c31bc71ea43
 /etc/vmware-tools/poweron-vm-default 4debf78c9ecf29b9fac22c31bc71ea43
 /etc/vmware-tools/resume-vm-default 4debf78c9ecf29b9fac22c31bc71ea43
 /etc/vmware-tools/scripts/vmware/network b1502315e15173db79e91e4efc826fdf
 /etc/vmware-tools/statechange.subr 9ebfc4a9aa22fe49491ad4ac47d4d22c
 /etc/vmware-tools/suspend-vm-default 4debf78c9ecf29b9fac22c31bc71ea43
 /etc/vmware-tools/tools.conf 76d7075ddb1a4266cb7e43f3a50181b7
 /etc/vmware-tools/tools.conf.example b8a07b64897281919824511765a5462f
 /etc/vmware-tools/vgauth.conf 08a49e9affbd864b51b8b77251accd89
 /etc/vmware-tools/vgauth/schemas/XMLSchema-hasFacetAndProperty.xsd 9308e8b04cbf7d2748a287ace40878ea
 /etc/vmware-tools/vgauth/schemas/XMLSchema-instance.xsd e1059f0307358c02766193e5e24c107b
 /etc/vmware-tools/vgauth/schemas/XMLSchema.dtd 86eafc21ca4ab293b7515e453c2b5dfe
 /etc/vmware-tools/vgauth/schemas/XMLSchema.xsd 54f86ef1a7a41930ba250151f143069b
 /etc/vmware-tools/vgauth/schemas/catalog.xml de4f8846e6e571af9feddd834b33a9be
 /etc/vmware-tools/vgauth/schemas/datatypes.dtd c61228050bb7c1c28a7f659f86a6e6c9
 /etc/vmware-tools/vgauth/schemas/saml-schema-assertion-2.0.xsd a6dc9abcc0cb7bd4e53c51642f46ffaa
 /etc/vmware-tools/vgauth/schemas/xenc-schema.xsd 4e7be0e2cae08227fd9ddb261c1e4e93
 /etc/vmware-tools/vgauth/schemas/xml.xsd d4314590e7e7aaf6bcd508be0fd1c614
 /etc/vmware-tools/vgauth/schemas/xmldsig-core-schema.xsd dff329f34df298d952d2e800a097c431
Description: Open VMware Tools for virtual machines hosted on VMware (CLI)
 The Open Virtual Machine Tools (open-vm-tools) project is an open source
 implementation of VMware Tools. It is a suite of virtualization utilities and
 drivers to improve the functionality, user experience and administration of
 VMware virtual machines.
 .
 This package contains only the core user-space programs and libraries.
Homepage: https://github.com/vmware/open-vm-tools
Original-Maintainer: Bernd Zeimetz <bzed@debian.org>
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  open-vm-tools
0 upgraded, 0 newly installed, 1 to remove and 23 not upgraded.
After this operation, 3,244 kB disk space will be freed.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 135542 files and directories currently installed.)
Removing open-vm-tools (2:12.3.5-3~ubuntu0.22.04.3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.13) ...
UninstallVMwareTools_debug : Successfully uninstalled open-vm-tools
+ '[' 0 -ne 0 ']'
+ write_log 'Uninstall VMware Tools script completed successfully'
+ set +x
17-07-2026T11:59:03 INFO Uninstall VMware Tools script completed successfully
+ return 0
+ '[' -f /opt/Nutanix/Move/download/scripts/retainIP.sh ']'
+ write_log '*** Running retainIP script on target VM ***'
+ set +x
17-07-2026T11:59:03 INFO authentic-theme bin boot core dev etc home initrd.img initrd.img.old lib lib32 lib64 libx32 lost+found media mnt opt proc root run sbin snap srv sys tmp usr var vmlinuz vmlinuz.old webmin-setup.out wp-content www Running retainIP script on target VM authentic-theme bin boot core dev etc home initrd.img initrd.img.old lib lib32 lib64 libx32 lost+found media mnt opt proc root run sbin snap srv sys tmp usr var vmlinuz vmlinuz.old webmin-setup.out wp-content www
+ return 0
+ '[' 0 = 0 ']'
+ write_log 'Running the command using timeout'
+ set +x
17-07-2026T11:59:03 INFO Running the command using timeout
+ return 0
+ timeout -s SIGKILL 200 bash /opt/Nutanix/Move/download/scripts/retainIP.sh target
+ CONF_DIR=/opt/Nutanix/Move/download/conf
+ PREP_CONF_FILE=/opt/Nutanix/Move/download/conf/pcf.json
+ BIN_DIR=/opt/Nutanix/Move/download/bin
+ CONFIGEDIT_PATH=/opt/Nutanix/Move/download/bin/configedit
+ destfilepath=/etc/init.d/nutanix-move
+ IFACE_MAC_ADDR=/etc/mac-nic-address-map
+ BACKUP_PATH=/opt/Nutanix/backup
+ RHEL_IFILE=/etc/sysconfig/network-scripts/ifcfg-
+ SUSE_IFILE=/etc/sysconfig/network/ifcfg-
+ RHEL_NETWORK_SCRIPTS=/etc/sysconfig/network-scripts
+ RHEL_NM_KEY_FILES=/etc/NetworkManager/system-connections
+ SUSE_NETWORK_SCRIPTS=/etc/sysconfig/network
+ NIC_FILE=/sys/class/net
+ DEBIAN_IFILE=/etc/network/interfaces
+ NETPLAN='/etc/netplan/*.yaml'
+ NETPLAN_DIRECTORY=/etc/netplan
+ DHCP_NETPLAN_FILE=/etc/netplan/nutanix.yaml
+ DHCP_FILE=/etc/sourcevm-dhcpfile
+ PERSISTENT_RULES_FILE=/etc/udev/rules.d/70-persistent-net.rules
+ BSD_IFILE=/etc/rc.conf
+ SYSCTL_CONF_FILE=/etc/sysctl.conf
+ CLOUD_INIT_CONFIGS_DIR=/etc/cloud/cloud.cfg.d
+ NM_KEYFILE_EXT=.nmconnection
+ WAIT_FOR_NETWORK_MANAGER=30
+ OS_ID=
+ OS_ID_RHEL=RHEL
+ OS_ID_RHEL_9X_OR_LATER=RHEL_9x
+ OS_ID_FreeBSD=FreeBSD
+ OS_ID_Debian=Debian
+ OS_ID_SUSE=SUSE
+ LNF_IFCFG=lnf_ifcfg
+ LNF_KEYFILE=lnf_keyfile
+ isCustomIP=false
+ freeBSD=false
+ uname
+ grep -i freebsd
+ errorVal=1
+ '[' 1 = 0 ']'
+ '[' target = source ']'
+ '[' target = target ']'
+ do_target
+ echo -e '\n*** Running IP retention script on target VM ***\n'

*** Running IP retention script on target VM ***

+ rm -f /etc/udev/rules.d/70-persistent-net.rules
+ '[' false = true ']'
+ '[' -f /etc/redhat-release ']'
+ '[' -f /etc/debian_version ']'
+ OS_ID=Debian
+ correct_debian_interfaces
+ unassigned_ifaces=
++ ls /etc/netplan/01-netcfg.yaml /etc/netplan/02-netcfg.yaml /etc/netplan/03-netcfg.yaml
++ wc -w
+ num_netplan_config=3
+ create_debian_dhcp_config
+ '[' -f /etc/sourcevm-dhcpfile ']'
++ list_interfaces
++ '[' false = true ']'
+++ ls /sys/class/net
++ for nic in $(ls $NIC_FILE)
++ readlink -f /sys/class/net/ens3
++ grep -v virtual/
++ echo ens3
++ for nic in $(ls $NIC_FILE)
++ readlink -f /sys/class/net/lo
++ grep -v virtual/
+ for iface in $(list_interfaces)
++ query_hwaddr ens3
++ iface=ens3
++ '[' false = true ']'
++ cat /sys/class/net/ens3/address
+ hwaddr=00:50:56:b9:a6:b4
++ get_old_iface_by_hwaddr 00:50:56:b9:a6:b4
++ hwaddr_filter=00:50:56:b9:a6:b4
++ iface_filter=
++ old_iface=
+++ cat /etc/mac-nic-address-map
++ for line in $(cat "$IFACE_MAC_ADDR")
+++ echo 00:50:56:b9:a6:b4,ens160
+++ cut -d, -f 1
++ hwaddr=00:50:56:b9:a6:b4
++ '[' 00:50:56:b9:a6:b4 = 00:50:56:b9:a6:b4 ']'
+++ echo 00:50:56:b9:a6:b4,ens160
+++ cut -d, -f 2
++ iface=ens160
++ old_iface=ens160
++ break
++ '[' '!' -z ens160 ']'
++ '[' '!' -z ']'
++ sed -i -e /ens160/d /etc/mac-nic-address-map
++ echo ens160
+ oldiface=ens160
+ '[' -z ens160 ']'
+ echo 'Interface name ens160 mapped to MAC Address 00:50:56:b9:a6:b4'
Interface name ens160 mapped to MAC Address 00:50:56:b9:a6:b4
+ echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:50:56:b9:a6:b4", ATTR{dev_id}=="0x0", ATTR{type}=="1", NAME="ens160"'
+ add_interface_to_debian_dhcp_config ens160
+ iface=ens160
+ '[' -f /etc/sourcevm-dhcpfile ']'
++ echo ''
+ '[' -d /etc/systemd ']'
+ mkdir -p /etc/systemd/system/systemd-networkd.service.d
+ echo -e '[Service]\nExecStartPre=/bin/sleep 5'
+ [[ 3 -gt 0 ]]
+ for yaml_file in $NETPLAN
+ sed -i '/dhcp-identifier: mac/d' /etc/netplan/01-netcfg.yaml
+ for yaml_file in $NETPLAN
+ sed -i '/dhcp-identifier: mac/d' /etc/netplan/02-netcfg.yaml
+ for yaml_file in $NETPLAN
+ sed -i '/dhcp-identifier: mac/d' /etc/netplan/03-netcfg.yaml
+ netplan apply

** (generate:1878): WARNING **: 11:59:03.524: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.

** (generate:1878): WARNING **: 11:59:03.524: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.

** (generate:1878): WARNING **: 11:59:03.524: Permissions for /etc/netplan/02-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.

** (generate:1878): WARNING **: 11:59:03.524: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.

** (generate:1878): WARNING **: 11:59:03.524: Permissions for /etc/netplan/03-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.

** (generate:1878): WARNING **: 11:59:03.524: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
WARNING:root:Cannot call Open vSwitch: ovsdb-server.service is not running.

** (process:1876): WARNING **: 11:59:03.728: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.

** (process:1876): WARNING **: 11:59:03.728: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.

** (process:1876): WARNING **: 11:59:03.728: Permissions for /etc/netplan/02-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.

** (process:1876): WARNING **: 11:59:03.728: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.

** (process:1876): WARNING **: 11:59:03.728: Permissions for /etc/netplan/03-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.

** (process:1876): WARNING **: 11:59:03.728: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.

** (process:1876): WARNING **: 11:59:03.844: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.

** (process:1876): WARNING **: 11:59:03.844: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.

** (process:1876): WARNING **: 11:59:03.844: Permissions for /etc/netplan/02-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.

** (process:1876): WARNING **: 11:59:03.844: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.

** (process:1876): WARNING **: 11:59:03.844: Permissions for /etc/netplan/03-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.

** (process:1876): WARNING **: 11:59:03.844: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.

** (process:1876): WARNING **: 11:59:03.844: Permissions for /etc/netplan/01-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.

** (process:1876): WARNING **: 11:59:03.844: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.

** (process:1876): WARNING **: 11:59:03.844: Permissions for /etc/netplan/02-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.

** (process:1876): WARNING **: 11:59:03.844: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.

** (process:1876): WARNING **: 11:59:03.844: Permissions for /etc/netplan/03-netcfg.yaml are too open. Netplan configuration should NOT be accessible by others.

** (process:1876): WARNING **: 11:59:03.844: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.
+ '[' -f /etc/sourcevm-dhcpfile ']'
+ rc=0
+ retry=0
+ maxretry=3
+ '[' 0 -lt 3 ']'
+ connect_network_interfaces
+ '[' false = true ']'
+ '[' -f /etc/redhat-release ']'
+ '[' -f /etc/debian_version ']'
+ nmcli
/opt/Nutanix/Move/download/scripts/retainIP.sh: line 716: nmcli: command not found
+ rc_nmcli=127
+ ifup --help
Usage: ifup <options> <ifaces...>

Options:
	-h, --help             this help
	-V, --version          copyright and version information
	-a, --all              process all interfaces marked "auto"
	--allow CLASS          ignore non-"allow-CLASS" interfaces
	-i, --interfaces FILE  use FILE for interface definitions
	--state-dir DIR        use DIR to store state information
	-X, --exclude PATTERN  exclude interfaces from the list of
	                       interfaces to operate on by a PATTERN
	-n, --no-act           print out what would happen, but don't do it
	                       (note that this option doesn't disable mappings)
	-v, --verbose          print out what would happen before doing it
	-o OPTION=VALUE        set OPTION to VALUE as though it were in
	                       /etc/network/interfaces
	--no-mappings          don't run any mappings
	--no-scripts           don't run any hook scripts
	--no-loopback          don't act specially on the loopback device
	--force                force de/configuration
	--ignore-errors        ignore errors
+ rc_ifup=0
+ '[' 127 = 0 ']'
+ [[ 127 = 127 ]]
+ [[ 0 = 0 ]]
+ ifconfig -a
ens3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::250:56ff:feb9:a6b4  prefixlen 64  scopeid 0x20<link>
        ether 00:50:56:b9:a6:b4  txqueuelen 1000  (Ethernet)
        RX packets 2317  bytes 8886602 (8.8 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1748  bytes 559285 (559.2 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 148  bytes 18121 (18.1 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 148  bytes 18121 (18.1 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

++ list_interfaces
++ '[' false = true ']'
+++ ls /sys/class/net
++ for nic in $(ls $NIC_FILE)
++ readlink -f /sys/class/net/ens3
++ grep -v virtual/
++ echo ens3
++ for nic in $(ls $NIC_FILE)
++ readlink -f /sys/class/net/lo
++ grep -v virtual/
+ for iface in $(list_interfaces)
+ ifup ens3
ifup: unknown interface ens3
+ return 1
+ '[' 1 = 0 ']'
+ retry=1
+ sleep 30
+ '[' 1 -lt 3 ']'
+ connect_network_interfaces
+ '[' false = true ']'
+ '[' -f /etc/redhat-release ']'
+ '[' -f /etc/debian_version ']'
+ nmcli
/opt/Nutanix/Move/download/scripts/retainIP.sh: line 716: nmcli: command not found
+ rc_nmcli=127
+ ifup --help
Usage: ifup <options> <ifaces...>

Options:
	-h, --help             this help
	-V, --version          copyright and version information
	-a, --all              process all interfaces marked "auto"
	--allow CLASS          ignore non-"allow-CLASS" interfaces
	-i, --interfaces FILE  use FILE for interface definitions
	--state-dir DIR        use DIR to store state information
	-X, --exclude PATTERN  exclude interfaces from the list of
	                       interfaces to operate on by a PATTERN
	-n, --no-act           print out what would happen, but don't do it
	                       (note that this option doesn't disable mappings)
	-v, --verbose          print out what would happen before doing it
	-o OPTION=VALUE        set OPTION to VALUE as though it were in
	                       /etc/network/interfaces
	--no-mappings          don't run any mappings
	--no-scripts           don't run any hook scripts
	--no-loopback          don't act specially on the loopback device
	--force                force de/configuration
	--ignore-errors        ignore errors
+ rc_ifup=0
+ '[' 127 = 0 ']'
+ [[ 127 = 127 ]]
+ [[ 0 = 0 ]]
+ ifconfig -a
ens3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.56.16.4  netmask 255.255.255.0  broadcast 10.56.16.255
        inet6 fe80::250:56ff:feb9:a6b4  prefixlen 64  scopeid 0x20<link>
        ether 00:50:56:b9:a6:b4  txqueuelen 1000  (Ethernet)
        RX packets 8288  bytes 28123527 (28.1 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5753  bytes 1802097 (1.8 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 191  bytes 32535 (32.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 191  bytes 32535 (32.5 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

++ list_interfaces
++ '[' false = true ']'
+++ ls /sys/class/net
++ for nic in $(ls $NIC_FILE)
++ readlink -f /sys/class/net/ens3
++ grep -v virtual/
++ echo ens3
++ for nic in $(ls $NIC_FILE)
++ readlink -f /sys/class/net/lo
++ grep -v virtual/
+ for iface in $(list_interfaces)
+ ifup ens3
ifup: unknown interface ens3
+ return 1
+ '[' 1 = 0 ']'
+ retry=2
+ sleep 30
+ '[' 2 -lt 3 ']'
+ connect_network_interfaces
+ '[' false = true ']'
+ '[' -f /etc/redhat-release ']'
+ '[' -f /etc/debian_version ']'
+ nmcli
/opt/Nutanix/Move/download/scripts/retainIP.sh: line 716: nmcli: command not found
+ rc_nmcli=127
+ ifup --help
Usage: ifup <options> <ifaces...>

Options:
	-h, --help             this help
	-V, --version          copyright and version information
	-a, --all              process all interfaces marked "auto"
	--allow CLASS          ignore non-"allow-CLASS" interfaces
	-i, --interfaces FILE  use FILE for interface definitions
	--state-dir DIR        use DIR to store state information
	-X, --exclude PATTERN  exclude interfaces from the list of
	                       interfaces to operate on by a PATTERN
	-n, --no-act           print out what would happen, but don't do it
	                       (note that this option doesn't disable mappings)
	-v, --verbose          print out what would happen before doing it
	-o OPTION=VALUE        set OPTION to VALUE as though it were in
	                       /etc/network/interfaces
	--no-mappings          don't run any mappings
	--no-scripts           don't run any hook scripts
	--no-loopback          don't act specially on the loopback device
	--force                force de/configuration
	--ignore-errors        ignore errors
+ rc_ifup=0
+ '[' 127 = 0 ']'
+ [[ 127 = 127 ]]
+ [[ 0 = 0 ]]
+ ifconfig -a
ens3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.56.16.4  netmask 255.255.255.0  broadcast 10.56.16.255
        inet6 fe80::250:56ff:feb9:a6b4  prefixlen 64  scopeid 0x20<link>
        ether 00:50:56:b9:a6:b4  txqueuelen 1000  (Ethernet)
        RX packets 11180  bytes 37713219 (37.7 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 7689  bytes 2158463 (2.1 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 191  bytes 32535 (32.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 191  bytes 32535 (32.5 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

++ list_interfaces
++ '[' false = true ']'
+++ ls /sys/class/net
++ for nic in $(ls $NIC_FILE)
++ readlink -f /sys/class/net/ens3
++ grep -v virtual/
++ echo ens3
++ for nic in $(ls $NIC_FILE)
++ readlink -f /sys/class/net/lo
++ grep -v virtual/
+ for iface in $(list_interfaces)
+ ifup ens3
ifup: unknown interface ens3
+ return 1
+ '[' 1 = 0 ']'
+ retry=3
+ sleep 30
+ '[' 3 -lt 3 ']'
+ return 0
+ '[' 0 -ne 0 ']'
+ write_log 'Retain IP script completed successfully'
+ set +x
17-07-2026T12:05:10 INFO Retain IP script completed successfully
+ return 0
+ '[' -f /opt/Nutanix/Move/download/scripts/install_ngt.sh ']'
+ write_log '*** Running install_ngt script on target VM ***'
+ set +x
17-07-2026T12:05:10 INFO authentic-theme bin boot core dev etc home initrd.img initrd.img.old lib lib32 lib64 libx32 lost+found media mnt opt proc root run sbin snap srv sys tmp usr var vmlinuz vmlinuz.old webmin-setup.out wp-content www Running install_ngt script on target VM authentic-theme bin boot core dev etc home initrd.img initrd.img.old lib lib32 lib64 libx32 lost+found media mnt opt proc root run sbin snap srv sys tmp usr var vmlinuz vmlinuz.old webmin-setup.out wp-content www
+ return 0
+ '[' 0 = 0 ']'
+ write_log 'Running the command using timeout'
+ set +x
17-07-2026T12:05:10 INFO Running the command using timeout
+ return 0
+ timeout -s SIGKILL 1500 bash /opt/Nutanix/Move/download/scripts/install_ngt.sh
+ SCRIPT_VERSION=6.2.0
+ sourcefilepath=/opt/Nutanix/Move/download/scripts/install_ngt.sh
+ WAIT_FOR_NGT_SERVICE=45
+ WAIT_FOR_NGT_CDROM=5
+ TIMEOUT_FOR_NGT_CDROM=60
+ MNT_NGT_CDROM=0
+ INSTALL_NGT_SCRIPT=0
+ FOUND_PYTHON=0
+ WAIT_FOR_INSTALL_NGT=10
++ id -u
+ '[' 0 '!=' 0 ']'
+ main
+ check_ngt_status
++ service ngt_guest_agent status
+ ngtstatus='Unit ngt_guest_agent.service could not be found.'
+ '[' 4 = 0 ']'
++ systemctl status ngt_guest_agent.service
+ ngtstatus='Unit ngt_guest_agent.service could not be found.'
+ '[' 4 = 0 ']'
+ mount_cdrom
+ end=60
+ '[' 0 -lt 60 ']'
++ lsblk -f
++ awk '{print$1}'
++ grep NUTANIX_TOOLS
+ output=sr0
+ '[' sr0 = '' ']'
+ echo 'Nutanix Tools CD is present/inserted at : sr0'
Nutanix Tools CD is present/inserted at : sr0
+ '[' sr0 = '' ']'
+ echo 'Mounting Nutanix Guest Tools CD to /mnt'
Mounting Nutanix Guest Tools CD to /mnt
+ mkdir -p /mnt
+ [[ sr0 == *\/\d\e\v* ]]
+ mount /dev/sr0 /mnt
mount: /mnt: WARNING: source write-protected, mounted read-only.
+ sleep 5
+ MNT_NGT_CDROM=1
+ break
+ '[' 1 = 0 ']'
+ install_ngt
+ retry=0
+ maxretry=3
+ '[' 0 -lt 3 ']'
+ '[' -f /mnt/installer/linux/install_ngt.sh ']'
+ sh /mnt/installer/linux/install_ngt.sh --operation=install
+ '[' 0 '!=' 0 ']'
+ echo 'script execution completed successfully using shell'
script execution completed successfully using shell
+ INSTALL_NGT_SCRIPT=1
+ break
+ '[' 1 = 0 ']'
+ sleep 45
+ check_ngt_status
++ service ngt_guest_agent status
+ ngtstatus='● ngt_guest_agent.service - Starts, stops Nutanix Guest Agent.
     Loaded: loaded (/etc/systemd/system/ngt_guest_agent.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2026-07-17 12:05:26 CDT; 47s ago
   Main PID: 2622 (python3)
      Tasks: 16 (limit: 18964)
     Memory: 303.4M
        CPU: 6.385s
     CGroup: /system.slice/ngt_guest_agent.service
             ├─2622 /usr/local/nutanix/ngt/python311/python3 -E /usr/local/nutanix/ngt/python/bin/guest_agent_monitor_linux.py
             └─2629 /usr/local/nutanix/ngt/python311/python3 -E /usr/local/nutanix/ngt/python/bin/guest_agent_monitor_linux.py

Jul 17 12:05:23 HAN2 systemd[1]: Starting Starts, stops Nutanix Guest Agent....
Jul 17 12:05:24 HAN2 ngt_guest_agent[2620]: Fri Jul 17 12:05:24 PM CDT 2026 : Starting Nutanix Guest Agent daemon.
Jul 17 12:05:26 HAN2 ngt_guest_agent[3133]: Fri Jul 17 12:05:26 PM CDT 2026 : guest agent service started with pid 2622 2629.
Jul 17 12:05:26 HAN2 systemd[1]: Started Starts, stops Nutanix Guest Agent..
Jul 17 12:05:26 HAN2 systemd[1]: /etc/systemd/system/ngt_guest_agent.service:9: PIDFile= references a path below legacy directory /var/run/, updating /var/run/ngt_guest_agent.pid → /run/ngt_guest_agent.pid; please update the unit file accordingly.'
+ '[' 0 = 0 ']'
+ [[ ● ngt_guest_agent.service - Starts, stops Nutanix Guest Agent.
     Loaded: loaded (/etc/systemd/system/ngt_guest_agent.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2026-07-17 12:05:26 CDT; 47s ago
   Main PID: 2622 (python3)
      Tasks: 16 (limit: 18964)
     Memory: 303.4M
        CPU: 6.385s
     CGroup: /system.slice/ngt_guest_agent.service
             ├─2622 /usr/local/nutanix/ngt/python311/python3 -E /usr/local/nutanix/ngt/python/bin/guest_agent_monitor_linux.py
             └─2629 /usr/local/nutanix/ngt/python311/python3 -E /usr/local/nutanix/ngt/python/bin/guest_agent_monitor_linux.py

Jul 17 12:05:23 HAN2 systemd[1]: Starting Starts, stops Nutanix Guest Agent....
Jul 17 12:05:24 HAN2 ngt_guest_agent[2620]: Fri Jul 17 12:05:24 PM CDT 2026 : Starting Nutanix Guest Agent daemon.
Jul 17 12:05:26 HAN2 ngt_guest_agent[3133]: Fri Jul 17 12:05:26 PM CDT 2026 : guest agent service started with pid 2622 2629.
Jul 17 12:05:26 HAN2 systemd[1]: Started Starts, stops Nutanix Guest Agent..
Jul 17 12:05:26 HAN2 systemd[1]: /etc/systemd/system/ngt_guest_agent.service:9: PIDFile= references a path below legacy directory /var/run/, updating /var/run/ngt_guest_agent.pid → /run/ngt_guest_agent.pid; please update the unit file accordingly. == *\r\u\n\n\i\n\g* ]]
+ echo 'NGT is installed successfully on the vm'
NGT is installed successfully on the vm
+ exit 0
+ '[' 0 -ne 0 ']'
+ write_log 'Install NGT script completed successfully'
+ set +x
17-07-2026T12:06:13 INFO Install NGT script completed successfully
+ return 0
+ '[' -f /opt/Nutanix/Uninstall/scripts/cleanup_installation.sh ']'
+ write_log '*** Running cleanup_installation script on target VM ***'
+ set +x
17-07-2026T12:06:13 INFO authentic-theme bin boot core dev etc home initrd.img initrd.img.old lib lib32 lib64 libx32 lost+found media mnt opt proc root run sbin snap srv sys tmp usr var vmlinuz vmlinuz.old webmin-setup.out wp-content www Running cleanup_installation script on target VM authentic-theme bin boot core dev etc home initrd.img initrd.img.old lib lib32 lib64 libx32 lost+found media mnt opt proc root run sbin snap srv sys tmp usr var vmlinuz vmlinuz.old webmin-setup.out wp-content www
+ return 0
+ '[' 0 = 0 ']'
+ write_log 'Running the command using timeout'
+ set +x
17-07-2026T12:06:13 INFO Running the command using timeout
+ return 0
+ timeout -s SIGKILL 100 bash /opt/Nutanix/Uninstall/scripts/cleanup_installation.sh --skip-remove-schedule-service-file --skip-confs-restore --clean-scripts true
Cleaning the User VM using script: 6.2.0
Creating required directories to clean-up the User VM.
Distro: Ubuntu
Starting User VM clean-up.
Cleaning installed packages.
Removing User VM preparation directories.
Cleaning old files and services created from previous Move versions if any
Clean-up of User VM completed successfully.
[ OK ]
+ '[' 0 -ne 0 ']'
+ write_log 'Target cleanup completed successfully'
+ set +x
17-07-2026T12:06:13 INFO Target cleanup completed successfully
+ return 0
+ rm -f /etc/init.d/nutanix-move
+ rm -f /etc/systemd/system/nutanix-move.service
+ mkdir -p /opt/Nutanix/log
+ write_log 'RetainIP_debug : Rebooting VM'
+ set +x
17-07-2026T12:06:13 INFO RetainIP_debug : Rebooting VM
+ return 0
+ cp /etc/xtract-guest.log /opt/Nutanix/log/xtract-target.log
+ date +%s
+ cp /etc/target-script-completed.txt /opt/Nutanix/log/target-script-completed.txt
+ reboot

Al-HUWAITI Shell