diff options
author | Chris Patterson <cpatterson@microsoft.com> | 2021-11-29 10:59:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-29 09:59:39 -0600 |
commit | 4bf4de25ea487ceb7005dc63d01f73fe56a13a16 (patch) | |
tree | 9b2e04e352c1393f3f7fc901943e03ee984943c5 /cloudinit | |
parent | 32860627535dfc1249088de36d1eb561a39851a9 (diff) | |
download | vyos-cloud-init-4bf4de25ea487ceb7005dc63d01f73fe56a13a16.tar.gz vyos-cloud-init-4bf4de25ea487ceb7005dc63d01f73fe56a13a16.zip |
sources/azure: remove unused remnants related to agent command (#1119)
Some references were missed in the removal of the agent command
in PR #799. This simply removes the remaining references.
Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
Diffstat (limited to 'cloudinit')
-rwxr-xr-x | cloudinit/sources/DataSourceAzure.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cloudinit/sources/DataSourceAzure.py b/cloudinit/sources/DataSourceAzure.py index 93493fa0..6c1bc085 100755 --- a/cloudinit/sources/DataSourceAzure.py +++ b/cloudinit/sources/DataSourceAzure.py @@ -52,8 +52,6 @@ LOG = logging.getLogger(__name__) DS_NAME = 'Azure' DEFAULT_METADATA = {"instance-id": "iid-AZURE-NODE"} -AGENT_START = ['service', 'walinuxagent', 'start'] -AGENT_START_BUILTIN = "__builtin__" BOUNCE_COMMAND_IFUP = [ 'sh', '-xc', "i=$interface; x=0; ifdown $i || x=$?; ifup $i || x=$?; exit $x" @@ -262,7 +260,6 @@ if util.is_FreeBSD(): PLATFORM_ENTROPY_SOURCE = None BUILTIN_DS_CONFIG = { - 'agent_command': AGENT_START_BUILTIN, 'data_dir': AGENT_SEED_DIR, 'set_hostname': True, 'hostname_bounce': { @@ -1525,8 +1522,7 @@ class DataSourceAzure(sources.DataSource): dhclient_lease_file, pubkey_info=pubkey_info) - LOG.debug("negotiating with fabric via agent command %s", - self.ds_cfg['agent_command']) + LOG.debug("negotiating with fabric") try: fabric_data = metadata_func() except Exception as e: |