OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
doc
/
cloud-init
/
examples
Server IP: 10.0.0.4
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
07/01/2022 06:30:49 AM
rwxr-xr-x
📄
cloud-config-add-apt-repos.txt
1.54 KB
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-apt.txt.gz
5.13 KB
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-archive-launch-index.txt
802 bytes
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-archive.txt
239 bytes
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-boot-cmds.txt
636 bytes
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-ca-certs.txt
1.07 KB
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-chef-oneiric.txt
3.53 KB
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-chef.txt.gz
2.57 KB
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-datasources.txt
2.26 KB
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-disk-setup.txt.gz
2.84 KB
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-gluster.txt
456 bytes
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-install-packages.txt
383 bytes
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-launch-index.txt
570 bytes
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-lxd.txt
1.76 KB
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-mount-points.txt
1.47 KB
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-ntp.txt
835 bytes
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-reporting.txt
394 bytes
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-run-cmds.txt
963 bytes
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-ssh-keys.txt
3.57 KB
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-update-apt.txt
229 bytes
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-update-packages.txt
93 bytes
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-user-groups.txt.gz
2.8 KB
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-write-files.txt
1.05 KB
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config-yum-repo.txt
639 bytes
05/18/2022 04:04:36 PM
rw-r--r--
📄
cloud-config.txt.gz
8.92 KB
05/18/2022 04:04:36 PM
rw-r--r--
📄
include-once.txt
353 bytes
05/18/2022 04:04:36 PM
rw-r--r--
📄
include.txt
237 bytes
05/18/2022 04:04:36 PM
rw-r--r--
📄
kernel-cmdline.txt
1 KB
05/18/2022 04:04:36 PM
rw-r--r--
📄
part-handler-v2.txt
1.53 KB
05/18/2022 04:04:36 PM
rw-r--r--
📄
part-handler.txt
806 bytes
05/18/2022 04:04:36 PM
rw-r--r--
📄
plain-ignored.txt
68 bytes
05/18/2022 04:04:36 PM
rw-r--r--
📁
seed
-
07/01/2022 06:30:49 AM
rwxr-xr-x
📄
user-script.txt
125 bytes
05/18/2022 04:04:36 PM
rw-r--r--
Editing: part-handler.txt
Close
#part-handler def list_types(): # return a list of mime-types that are handled by this module return(["text/plain", "text/go-cubs-go"]) def handle_part(data, ctype, filename, payload): # data: the cloudinit object # ctype: '__begin__', '__end__', or the specific mime-type of the part # filename: the filename for the part, or dynamically generated part if # no filename is given attribute is present # payload: the content of the part (empty for begin or end) if ctype == "__begin__": print("my handler is beginning") return if ctype == "__end__": print("my handler is ending") return print(f"==== received ctype={ctype} filename={filename} ====") print(payload) print(f"==== end ctype={ctype} filename={filename}")