You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement --userdata flag and follow the EC2 style for user data.
When resolving the flag, check if:
starts with a shebang like string, if yes, assume it's an inline command, embed the execution into the vminit service
if no shebang:
check if value starts with http:// or https://, if so, vminit will download and execute a remote program
check if the value is a host local path, require a specific path prefix and use filepath.Clean to make sure no host secret data can be put in the VM, read the file and put on the VM, vminit to execute the command
if none of the above, put the data as-is at a specific location in the VM, vminit will do nothing
The text was updated successfully, but these errors were encountered:
Implement
--userdata
flag and follow the EC2 style for user data.When resolving the flag, check if:
vminit
servicehttp://
orhttps://
, if so,vminit
will download and execute a remote programfilepath.Clean
to make sure no host secret data can be put in the VM, read the file and put on the VM,vminit
to execute the commandvminit
will do nothingThe text was updated successfully, but these errors were encountered: