SHELL BYPASS 403 |
Modern UI. Responsive. Powerful.

Faizzz-Chin Shell

Uname\Kernel: Linux server.kxo.bgz.mybluehostin.me 3.10.0-1160.119.1.el7.tuxcare.els19.x86_64 #1 SMP Mon Mar 31 17:29:00 UTC 2025 x86_64
Server: Apache
PHP Version: 8.2.28 [ PHP INFO ]
Operating System: Linux
Server Ip: 162.240.163.222
Your Ip: 216.73.216.114
Date Time: 2025-07-11 12:22:36
User: dilseshaadi (1027) | Group: dilseshaadi (1027)
Safe Mode: OFF
Disable Function: exec,passthru,shell_exec,system

name : cc_update_hostname.pyc
�
oB�]c@sEdZddlZddlmZddlmZeZd�ZdS(s
Update Hostname
---------------
**Summary:** update hostname and fqdn

This module will update the system hostname and fqdn. If ``preserve_hostname``
is set, then the hostname will not be altered.

.. note::
    for instructions on specifying hostname and fqdn, see documentation for
    ``cc_set_hostname``

**Internal name:** ``cc_update_hostname``

**Module frequency:** per always

**Supported distros:** all

**Config keys**::

    preserve_hostname: <true/false>
    fqdn: <fqdn>
    hostname: <fqdn/hostname>
i����N(t
PER_ALWAYS(tutilcCs�tj|dt�r)|jd|�dStj||�\}}yKtjj|jd�d�}|jd||�|j	j
|||�Wn*tk
r�tj|d||��nXdS(Ntpreserve_hostnamesWConfiguration option 'preserve_hostname' is set, not updating the hostname in module %stdatasprevious-hostnamesUpdating hostname to %s (%s)s(Failed to update the hostname to %s (%s)(
Rtget_cfg_option_booltFalsetdebugtget_hostname_fqdntostpathtjoint	get_cpathtdistrotupdate_hostnamet	Exceptiontlogexc(tnametcfgtcloudtlogt_argsthostnametfqdntprev_fn((sG/usr/lib/python2.7/site-packages/cloudinit/config/cc_update_hostname.pythandle*s	
(t__doc__Rtcloudinit.settingsRt	cloudinitRt	frequencyR(((sG/usr/lib/python2.7/site-packages/cloudinit/config/cc_update_hostname.pyt<module> s

© 2025 Faizzz-Chin