How to set up variables in multi-part cloud-init userdata scripts? -
i want able set variable in shell-script
- part of multi-part cloud-init userdata configuration setup, , use variable in cloud-config
script comes later in multi-part userdata.
is possible do? example helpful.
you use file. set "variable" echo "value" > /tmp/myvar
, echo `cat /tmp/myvar`
.
Comments
Post a Comment