HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/ipalib/install/__pycache__/hostname.cpython-36.pyc
3

�d[ep�@sVdZddlmZddlmZddlmZddlmZddlm	Z	Gdd	�d	ej
�Zd
S)z
Host name installer module
�)�typing)�knob)�CheckedIPAddress�)�service)�prepare_onlyc@szeZdZdZeejeddddd�Ze	e�Zej
dd��Zedd	d
�Ze	e�Zeddd
�Ze	e�Zeddd
�Z
e	e
�Z
dS)
�HostNameInstallInterfacezi
    Interface common to all service installers which create DNS address
    records for `host_name`
    NzVSpecify IP address that should be added to DNS. This option can be used multiple timesz--ip-addressZ
IP_ADDRESS)�descriptionZ	cli_namesZcli_metavarcCsRxL|D]D}yt|�Wqtk
rH}ztdj||���WYdd}~XqXqWdS)Nzinvalid IP address {0}: {1})r�	Exception�
ValueError�format)�self�values�value�e�r�/usr/lib/python3.6/hostname.py�ip_addresses s
z%HostNameInstallInterface.ip_addresseszJAll routable IP addresses configured on any interface will be added to DNS)r	z6Do not use DNS for hostname lookup during installationz/do not wait until the host is resolvable in DNS)�__name__�
__module__�__qualname__�__doc__rrZListrrrZ	validatorZall_ip_addressesZno_host_dnsZno_wait_for_dnsrrrrrs(
	rN)rZipapython.installrZipapython.install.corerZipapython.ipautilr�rrZServiceInstallInterfacerrrrr�<module>s