Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

disable cloud-init's network setup from Heat template

Hi colleagues,

are there ways to forbid cloud-init to configure networking on guest VM, using Heat template?

At the moment, my OS::Heat::CloudConfig resource looks as below:

type: OS::Heat::CloudConfig
    properties:
      cloud_config:
        manage_etc_hosts: true
        network:
          config: disabled

and despite this setting, after I boot VM, I find that cloud-init did networking setup (e.g. there is /etc/network/interfaces.d/50-cloud-init.cfg and logs confirm this).

Any ideas on how to prevent cloud init from doing network configuring?

Thank you!