Linux mail.vriendennsm.nl 6.1.0-51-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.177-1 (2026-07-16) x86_64
Apache/2.4.68 (Debian)
Server IP : 217.154.75.17 & Your IP : 216.73.217.15
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3 /
dist-packages /
cloudinit /
net /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-07-12 06:55
__init__.py
41.83
KB
-rw-r--r--
2022-11-23 21:17
activators.py
9.8
KB
-rw-r--r--
2022-11-23 21:17
bsd.py
6.86
KB
-rw-r--r--
2022-11-23 21:17
cmdline.py
9.05
KB
-rw-r--r--
2022-11-23 21:17
dhcp.py
11.61
KB
-rw-r--r--
2022-11-23 21:17
eni.py
21.56
KB
-rw-r--r--
2022-11-23 21:17
ephemeral.py
14.47
KB
-rw-r--r--
2022-11-23 21:17
freebsd.py
2.54
KB
-rw-r--r--
2022-11-23 21:17
netbsd.py
1.43
KB
-rw-r--r--
2022-11-23 21:17
netplan.py
17.35
KB
-rw-r--r--
2022-11-23 21:17
network_manager.py
13.06
KB
-rw-r--r--
2022-11-23 21:17
network_state.py
35.5
KB
-rw-r--r--
2022-11-23 21:17
networkd.py
12.63
KB
-rw-r--r--
2026-06-01 19:13
openbsd.py
2.2
KB
-rw-r--r--
2022-11-23 21:17
renderer.py
2.08
KB
-rw-r--r--
2022-11-23 21:17
renderers.py
1.8
KB
-rw-r--r--
2022-11-23 21:17
sysconfig.py
40.01
KB
-rw-r--r--
2022-11-23 21:17
udev.py
1.42
KB
-rw-r--r--
2022-11-23 21:17
Save
Rename
# This file is part of cloud-init. See LICENSE file for license information. import cloudinit.net.bsd from cloudinit import log as logging from cloudinit import subp, util LOG = logging.getLogger(__name__) class Renderer(cloudinit.net.bsd.BSDRenderer): def __init__(self, config=None): super(Renderer, self).__init__() def write_config(self): if self.dhcp_interfaces(): self.set_rc_config_value("dhcpcd", "YES") self.set_rc_config_value( "dhcpcd_flags", " ".join(self.dhcp_interfaces()) ) for device_name, v in self.interface_configurations.items(): if isinstance(v, dict): net_config = v.get("address") + " netmask " + v.get("netmask") mtu = v.get("mtu") if mtu: net_config += " mtu %d" % mtu self.set_rc_config_value("ifconfig_" + device_name, net_config) def start_services(self, run=False): if not run: LOG.debug("netbsd generate postcmd disabled") return subp.subp(["service", "network", "restart"], capture=True) if self.dhcp_interfaces(): subp.subp(["service", "dhcpcd", "restart"], capture=True) def set_route(self, network, netmask, gateway): if network == "0.0.0.0": self.set_rc_config_value("defaultroute", gateway) def available(target=None): return util.is_NetBSD()