@Steve,
I am working on a solution to pass some local cloud-config settings, for swap space settings and other settings.
One idea is to change the AzureDataSource.py script, in order to allow it to read from waagent.conf and/or other config files.
The possibility exists, given the fact that a user data file and a cloud-config.txt file are existing on the created instance.
The advantage of using cloud-init (instead of CustomData and/or ovf-env.xml) is that the cloud-init syntax (and scripts) can be used.
In fact, the only challenge is to have cloud-init read an additional datasource (on the created VM) at shut-down and/or start-up.
I do not have much time the coming days, but I´ll keep you posted.
Kind regards.....
@Steve,
I am working on a solution to pass some local cloud-config settings, for swap space settings and other settings.
One idea is to change the AzureDataSource.py script, in order to allow it to read from waagent.conf and/or other config files.
The possibility exists, given the fact that a user data file and a cloud-config.txt file are existing on the created instance.
The advantage of using cloud-init (instead of CustomData and/or ovf-env.xml) is that the cloud-init syntax (and scripts) can be used.
In fact, the only challenge is to have cloud-init read an additional datasource (on the created VM) at shut-down and/or start-up.
I do not have much time the coming days, but I´ll keep you posted.
Kind regards.....