404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.137.168.126: ~ $
# Copyright (C) 2017 Red Hat, Inc.
#
# Author: Ryan McCabe <rmccabe@redhat.com>
#
# This file is part of cloud-init. See LICENSE file for license information.

import configobj

# This module is used to set additional NetworkManager configuration
# in /etc/NetworkManager/conf.d
#


class NetworkManagerConf(configobj.ConfigObj):
    def __init__(self, contents):
        configobj.ConfigObj.__init__(
            self, contents, interpolation=False, write_empty_values=False
        )

    def set_section_keypair(self, section_name, key, value):
        if section_name not in self.sections:
            self.main[section_name] = {}
        self.main[section_name] = {key: value}

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
__init__.py File 540 B 0644
hostname.py File 2.42 KB 0644
hosts.py File 2.67 KB 0644
ifconfig.py File 8.88 KB 0644
networkmanager_conf.py File 682 B 0644
resolv_conf.py File 5.12 KB 0644
sys_conf.py File 3.81 KB 0644