Ubuntu Pastebin

Paste from Chad Smith at Tue, 28 Nov 2017 21:11:09 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
root@test-zesty-2:~# for target in cloud-init cloud-init.service cloud-init.target; do echo -n $target: ; systemctl is-enabled $target; done
cloud-init:enabled
cloud-init.service:enabled
cloud-init.target:static
root@test-zesty-2:~# systemctl list-dependencies | grep cloud
●   ├─cloud-init.target
●   │ ├─cloud-config.service
●   │ ├─cloud-final.service
●   │ ├─cloud-init-local.service
●   │ └─cloud-init.service
root@test-zesty-2:~# touch /etc/cloud/cloud-init.disabled
root@test-zesty-2:~# reboot
root@test-zesty-2:~# csmith@downtown:~$ lxc exec test-zesty-2 bash
root@test-zesty-2:~# for target in cloud-init cloud-init.service cloud-init.target; do echo -n $target: ; systemctl is-enabled $target; done
cloud-init:enabled
cloud-init.service:enabled
cloud-init.target:static
root@test-zesty-2:~# systemctl list-dependencies | grep cloud
Download as text