Linux ams-business-5.hostwindsdns.com 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
LiteSpeed
Server IP : 23.254.231.17 & Your IP : 216.73.217.85
Domains :
Cant Read [ /etc/named.conf ]
User : uxvsuhne
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib /
python3.6 /
site-packages /
cloudinit /
distros /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-05-29 11:31
package_management
[ DIR ]
drwxr-xr-x
2026-05-29 11:31
parsers
[ DIR ]
drwxr-xr-x
2026-05-29 11:31
OpenCloudOS.py
277
B
-rw-r--r--
2023-12-04 11:47
TencentOS.py
277
B
-rw-r--r--
2023-12-04 11:47
__init__.py
51.19
KB
-rw-r--r--
2023-12-04 11:47
almalinux.py
151
B
-rw-r--r--
2023-12-04 11:47
alpine.py
8.38
KB
-rw-r--r--
2023-12-04 11:47
amazon.py
592
B
-rw-r--r--
2023-12-04 11:47
arch.py
8.51
KB
-rw-r--r--
2023-12-04 11:47
bsd.py
5.08
KB
-rw-r--r--
2023-12-04 11:47
bsd_utils.py
1.4
KB
-rw-r--r--
2023-12-04 11:47
centos.py
151
B
-rw-r--r--
2023-12-04 11:47
cloudlinux.py
151
B
-rw-r--r--
2023-12-04 11:47
cos.py
247
B
-rw-r--r--
2023-12-04 11:47
debian.py
9.84
KB
-rw-r--r--
2023-12-04 11:47
dragonflybsd.py
230
B
-rw-r--r--
2023-12-04 11:47
eurolinux.py
151
B
-rw-r--r--
2023-12-04 11:47
fedora.py
437
B
-rw-r--r--
2023-12-04 11:47
freebsd.py
7.45
KB
-rw-r--r--
2023-12-04 11:47
gentoo.py
9.11
KB
-rw-r--r--
2023-12-04 11:47
mariner.py
1.65
KB
-rw-r--r--
2023-12-04 11:47
miraclelinux.py
151
B
-rw-r--r--
2023-12-04 11:47
net_util.py
6.4
KB
-rw-r--r--
2023-12-04 11:47
netbsd.py
4.78
KB
-rw-r--r--
2023-12-04 11:47
networking.py
10.75
KB
-rw-r--r--
2023-12-04 11:47
openbsd.py
1.87
KB
-rw-r--r--
2023-12-04 11:47
openeuler.py
275
B
-rw-r--r--
2023-12-04 11:47
openmandriva.py
237
B
-rw-r--r--
2023-12-04 11:47
opensuse-leap.py
247
B
-rw-r--r--
2023-12-04 11:47
opensuse-microos.py
247
B
-rw-r--r--
2023-12-04 11:47
opensuse-tumbleweed.py
247
B
-rw-r--r--
2023-12-04 11:47
opensuse.py
9.85
KB
-rw-r--r--
2023-12-04 11:47
photon.py
5.18
KB
-rw-r--r--
2023-12-04 11:47
rhel.py
7.5
KB
-rw-r--r--
2023-12-04 11:47
rhel_util.py
1.4
KB
-rw-r--r--
2023-12-04 11:47
rocky.py
151
B
-rw-r--r--
2023-12-04 11:47
sle-micro.py
247
B
-rw-r--r--
2023-12-04 11:47
sle_hpc.py
247
B
-rw-r--r--
2023-12-04 11:47
sles.py
247
B
-rw-r--r--
2023-12-04 11:47
suse.py
81
B
-rw-r--r--
2023-12-04 11:47
ubuntu.py
1.75
KB
-rw-r--r--
2023-12-04 11:47
ug_util.py
9.75
KB
-rw-r--r--
2023-12-04 11:47
virtuozzo.py
151
B
-rw-r--r--
2023-12-04 11:47
Save
Rename
# Copyright (C) 2021 VMware Inc. # # This file is part of cloud-init. See LICENSE file for license information. import logging from cloudinit import helpers from cloudinit.distros import photon LOG = logging.getLogger(__name__) NETWORK_FILE_HEADER = """\ # This file is generated from information provided by the datasource. Changes # to it will not persist across an instance reboot. To disable cloud-init's # network configuration capabilities, write a file # /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg with the following: # network: {config: disabled} """ class Distro(photon.Distro): systemd_hostname_conf_fn = "/etc/hostname" network_conf_dir = "/etc/systemd/network/" systemd_locale_conf_fn = "/etc/locale.conf" resolve_conf_fn = "/etc/systemd/resolved.conf" network_conf_fn = {"netplan": "/etc/netplan/50-cloud-init.yaml"} renderer_configs = { "networkd": { "resolv_conf_fn": resolve_conf_fn, "network_conf_dir": network_conf_dir, }, "netplan": { "netplan_path": network_conf_fn["netplan"], "netplan_header": NETWORK_FILE_HEADER, "postcmds": "True", }, } # Should be fqdn if we can use it prefer_fqdn = True def __init__(self, name, cfg, paths): photon.Distro.__init__(self, name, cfg, paths) # This will be used to restrict certain # calls from repeatly happening (when they # should only happen say once per instance...) self._runner = helpers.Runners(paths) self.osfamily = "mariner" self.init_cmd = ["systemctl"] def _get_localhost_ip(self): return "127.0.0.1"