paris/i-061454707f2cf9aeb
by SadServersMore by SadServers
level = logging.DEBUG if not os.path.exists(logdir): os.makedirs(logdir) logfile = os.path.join(logdir, "unattended-upgrades-shutdown.log") logging.basicConfig(filename=logfile, level=level, format="%(asctime)s %(levelname)s - %(message)s") UnattendedUpgradesShutdown(options).run() if __name__ == "__main__": main() admin@i-06e18ce49b1465f2e:~$ cat
paris/i-06e18ce49b1465f2e 04:42
by SadServersPhysical volume "/dev/nvme1n1" successfully created. admin@i-0a436e109ac3ff9d3:~$ sudo pvcreate /dev/nvme1n1 Physical volume "/dev/nvme1n1" successfully created. admin@i-0a436e109ac3ff9d3:~$ sudo pvcreate /dev/nvme1n2 No device found for /dev/nvme1n2. admin@i-0a436e109ac3ff9d3:~$ sudo pvcreate /dev/nvme1^C admin@i-0a436e109ac3ff9d3:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme0n1 259:0 0 8G 0 disk ├─nvme0n1p1 259:3 0 7.9G 0 part / ├─nvme0n1p14 259:4 0 3M 0 part └─nvme0n1p15 259:5 0 124M 0 part /boot/efi nvme1n1 259:1 0 1G 0 disk nvme2n1 259:2 0 1G 0 disk admin@i-0a436e109ac3ff9d3:~$ lsblk
kihei/i-0a436e109ac3ff9d3 04:43
by SadServerstotal 12 -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rw-r--r-- 1 admin admin 79 Mar 2 05:22 py-wrapper.sh admin@i-02f98745e2b363f17:~$ losetup admin@i-02f98745e2b363f17:~$ losetup -l admin@i-02f98745e2b363f17:~$ ls -ltr total 12 -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rw-r--r-- 1 admin admin 79 Mar 2 05:22 py-wrapper.sh admin@i-02f98745e2b363f17:~$ mkdir /tmp/test admin@i-02f98745e2b363f17:~$ mount -o bind,ro /home/admin /tmp/test mount: /tmp/test: must be superuser to use mount. admin@i-02f98745e2b363f17:~$