recipe <![CDATA[recipe]]> I would like to know if I can use variables inside recipe like user email address or something.
Also I would like to know at which run-level the recipe will run.]]>
Fri, 01 Nov 2019 21:06:54 GMT
<![CDATA[recipe]]> ]]> Fri, 05 Jul 2019 16:47:28 GMT <![CDATA[recipe]]> The following will work only with ssh login with key, not password.
1.add a "command=/path/to/your/script" at the end of your access key stored in authorized_keys.
2. Add a recipe in virtualizor that writes your desired script to the path above and issue a

chmod +x /path/to/your/script

3. Whenever there is a login with the matched key, the script will be executed.
If you only needs this to run ONCE, you need to delete the script and change the key (remove the command=" sectionl. The script can also delete itself with simple

rm /path/to/your/script

command as last line.
That´s just a suggestion which can be refined further.

Mon, 01 Apr 2019 10:36:19 GMT
<![CDATA[recipe]]> Mon, 01 Apr 2019 09:57:29 GMT <![CDATA[recipe]]>
It is added automatically.]]>
Sun, 31 Mar 2019 11:54:15 GMT

sleep 30
apt install htop -y
Sat, 30 Mar 2019 20:05:22 GMT
<![CDATA[recipe]]> Sat, 16 Mar 2019 21:25:16 GMT <![CDATA[recipe]]> Run the script from the command line and see what it does.

Once it works as expected on the command line then look at updating the recipe.]]>
Sat, 16 Mar 2019 21:16:45 GMT
<![CDATA[recipe]]> Sat, 16 Mar 2019 21:06:06 GMT <![CDATA[recipe]]>
Quote From : tashkas March 16, 2019, 8:37 pm
nope not installing it either with 20sec, it should pop up in first installation when ssh have been accessed.

Recipes run as root on startup independent of your ssh login.  The script you are using is interactive and may be waiting for input in the console session itnis running in.  If you look at your running processes you should see idled waiting for input.  If you can attach to the console where it is running you should be able to complete the process.

Run your script in an ssh session and you will see the waiting input.  You might be able to do some echo commands as part of the recipe to answer the prompts.]]>
Sat, 16 Mar 2019 21:00:09 GMT