404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.133.121.19: ~ $
3

\�me��@sNddlZddlZddlmZmZeje�ZGdd�dejj	j
�Zddd�ZdS)�N)�subp�utilcs8eZdZd�fdd�	Zdd�Zddd�Zd	d
�Z�ZS)
�RendererNcstt|�j�dS)N)�superr�__init__)�self�config)�	__class__��/usr/lib/python3.6/netbsd.pyrszRenderer.__init__cCs�|j�r*|jdd�|jddj|j���xb|jj�D]T\}}t|t�r6|jd�d|jd�}|jd�}|rz|d	|7}|jd
||�q6WdS)N�dhcpcdZYESZdhcpcd_flags� Zaddressz	 netmask �netmask�mtuz mtu %dZ	ifconfig_)�dhcp_interfaces�set_rc_config_value�joinZinterface_configurations�items�
isinstance�dict�get)rZdevice_name�vZ
net_configrr
r
r�write_configs

zRenderer.write_configFcCsF|stjd�dStjdddgdd�|j�rBtjdddgdd�dS)Nz netbsd generate postcmd disabledZservice�networkZrestartT)Zcapturer)�LOG�debugrr)rZrunr
r
r�start_servicess
zRenderer.start_servicescCs|dkr|jd|�dS)Nz0.0.0.0Zdefaultroute)r)rrrZgatewayr
r
r�	set_route&szRenderer.set_route)N)F)�__name__�
__module__�__qualname__rrrr�
__classcell__r
r
)r	rrs
	rcCstj�S)N)rZ	is_NetBSD)�targetr
r
r�	available+sr#)N)
ZloggingZcloudinit.net.bsdZ	cloudinitrrZ	getLoggerrrZnetZbsdZBSDRendererrr#r
r
r
r�<module>s

 

Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 33.43 KB 0644
__init__.cpython-36.pyc File 33.43 KB 0644
activators.cpython-36.opt-1.pyc File 9.52 KB 0644
activators.cpython-36.pyc File 9.52 KB 0644
bsd.cpython-36.opt-1.pyc File 5.74 KB 0644
bsd.cpython-36.pyc File 5.74 KB 0644
cmdline.cpython-36.opt-1.pyc File 7.2 KB 0644
cmdline.cpython-36.pyc File 7.2 KB 0644
dhcp.cpython-36.opt-1.pyc File 15.98 KB 0644
dhcp.cpython-36.pyc File 15.98 KB 0644
eni.cpython-36.opt-1.pyc File 12.89 KB 0644
eni.cpython-36.pyc File 12.89 KB 0644
ephemeral.cpython-36.opt-1.pyc File 10.51 KB 0644
ephemeral.cpython-36.pyc File 10.51 KB 0644
freebsd.cpython-36.opt-1.pyc File 2.54 KB 0644
freebsd.cpython-36.pyc File 2.54 KB 0644
netbsd.cpython-36.opt-1.pyc File 1.69 KB 0644
netbsd.cpython-36.pyc File 1.69 KB 0644
netplan.cpython-36.opt-1.pyc File 11.91 KB 0644
netplan.cpython-36.pyc File 11.91 KB 0644
network_manager.cpython-36.opt-1.pyc File 12.83 KB 0644
network_manager.cpython-36.pyc File 12.83 KB 0644
network_state.cpython-36.opt-1.pyc File 27.57 KB 0644
network_state.cpython-36.pyc File 27.57 KB 0644
networkd.cpython-36.opt-1.pyc File 8.21 KB 0644
networkd.cpython-36.pyc File 8.21 KB 0644
openbsd.cpython-36.opt-1.pyc File 2.18 KB 0644
openbsd.cpython-36.pyc File 2.18 KB 0644
renderer.cpython-36.opt-1.pyc File 1.82 KB 0644
renderer.cpython-36.pyc File 1.82 KB 0644
renderers.cpython-36.opt-1.pyc File 1.53 KB 0644
renderers.cpython-36.pyc File 1.53 KB 0644
sysconfig.cpython-36.opt-1.pyc File 23.07 KB 0644
sysconfig.cpython-36.pyc File 23.07 KB 0644
udev.cpython-36.opt-1.pyc File 1.22 KB 0644
udev.cpython-36.pyc File 1.31 KB 0644