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

arrays - PHP Shopping Cart Variable and Object errors -

mysql - java.sql.SQLException Parameter index out of range (1 > number of parameters, which is 0) -