Skip to content

Commit 39e3dd2

Browse files
committed
fix: add debug commands
1 parent aeccb03 commit 39e3dd2

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

aws_ec2_instance/host_provision/build_os_prepare.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ os_version=$os_info_version
5555
5656
#echo "--- DEBUG ---"
5757
#cat /etc/hosts
58+
#cat /etc/hostname
59+
#cat /proc/sys/kernel/hostname
5860
#cat /etc/resolv.conf
5961
#cat /etc/dhcp/dhclient.conf
6062
@@ -99,6 +101,8 @@ echo "uname -n == $(uname -n)"
99101
100102
#echo "--- DEBUG ---"
101103
#cat /etc/hosts
104+
#cat /etc/hostname
105+
#cat /proc/sys/kernel/hostname
102106
#cat /etc/resolv.conf
103107
#cat /etc/dhcp/dhclient.conf
104108

gcp_ce_vm/host_provision/build_os_prepare.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ os_version=$os_info_version
5555
5656
#echo "--- DEBUG ---"
5757
#cat /etc/hosts
58+
#cat /etc/hostname
59+
#cat /proc/sys/kernel/hostname
5860
#cat /etc/resolv.conf
5961
#cat /etc/dhcp/dhclient.conf
6062
@@ -121,6 +123,8 @@ python3 -c "import socket; print(socket.getfqdn())"
121123
122124
#echo "--- DEBUG ---"
123125
#cat /etc/hosts
126+
#cat /etc/hostname
127+
#cat /proc/sys/kernel/hostname
124128
#cat /etc/resolv.conf
125129
#cat /etc/dhcp/dhclient.conf
126130

msazure_vm/host_provision/build_os_prepare.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ os_version=$os_info_version
4040
4141
#echo "--- DEBUG ---"
4242
#cat /etc/hosts
43+
#cat /etc/hostname
44+
#cat /proc/sys/kernel/hostname
4345
#cat /etc/resolv.conf
4446
#cat /etc/dhcp/dhclient.conf
4547
@@ -84,6 +86,8 @@ echo "uname -n == $(uname -n)"
8486
8587
#echo "--- DEBUG ---"
8688
#cat /etc/hosts
89+
#cat /etc/hostname
90+
#cat /proc/sys/kernel/hostname
8791
#cat /etc/resolv.conf
8892
#cat /etc/dhcp/dhclient.conf
8993

0 commit comments

Comments
 (0)