HEX
Server: LiteSpeed
System: Linux shams.tasjeel.ae 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
User: infowars (1469)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //usr/lib/python3.9/site-packages/ipalib/install/__pycache__/hostname.cpython-39.opt-1.pyc
a

}�fp�@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_metavarcCsP|D]F}zt|�WqtyH}ztd�||���WYd}~qd}~00qdS)Nzinvalid IP address {0}: {1})r�	Exception�
ValueError�format)�self�values�value�e�r�;/usr/lib/python3.9/site-packages/ipalib/install/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__rr�ListrrrZ	validatorZall_ip_addressesZno_host_dnsZno_wait_for_dnsrrrrrs2
�
���rN)rZipapython.installrZipapython.install.corerZipapython.ipautilr�rrZServiceInstallInterfacerrrrr�<module>s