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

Popular posts from this blog

c - ALSA programming: how to stop immediately -

c++ - How to add Crypto++ library to Qt project -