__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# Copyright (C) 2022 Canonical Ltd. # Author: Benjamin Drung <[email protected]> # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the # Free Software Foundation; either version 2 of the License, or (at your # option) any later version. See http://www.gnu.org/copyleft/gpl.html for # the full text of the license. """Add image build information if available.""" import os _BUILD_INFO_KEY_MAPPING = {"build_name": "CloudBuildName", "serial": "CloudSerial"} def _add_cloud_build_info(report): """Add cloud build information if available. /etc/cloud/build.info is generated by livecd-rootfs. """ if not os.path.isfile("/etc/cloud/build.info"): return report.add_tags(["cloud-image"]) with open("/etc/cloud/build.info", encoding="utf-8") as build_info: for line in build_info: try: key, value = line.split(":", 1) except ValueError: continue if key not in _BUILD_INFO_KEY_MAPPING: continue report[_BUILD_INFO_KEY_MAPPING[key]] = value.strip() def add_info(report, unused_ui): """Add image build information if available.""" _add_cloud_build_info(report)
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| cloud-init.py | File | 350 B | 0644 |
|
| cloud_archive.py | File | 1.26 KB | 0644 |
|
| generic.py | File | 4.58 KB | 0644 |
|
| image.py | File | 1.28 KB | 0644 |
|
| parse_segv.py | File | 14.26 KB | 0644 |
|
| powerpc.py | File | 4.82 KB | 0644 |
|
| ubuntu-gnome.py | File | 2.52 KB | 0644 |
|
| ubuntu.py | File | 24.65 KB | 0644 |
|
| wayland_session.py | File | 260 B | 0644 |
|