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
To make alpine edit more useful, at the end, it should do a quick parse & validate of the config.yaml file(s) which were edited and relay a message about their validity, erroring if one or more are invalid:
malformed YAML
alias is invalid
image not found in ~/.macpine/cache or not on filesystem
arch not one of aarch64 or x86_64
cpu not a positive integer
memory not a positive integer >= 256
disk not a valid size
mount not a directory on the host
port string invalid
sshport not a positive integer
location not correct (~/.macpine/instance-name matching alias)
0 can be checked with the yaml library
1 can be checked with cmd/rename.go:100 validateName(...)
2-9 can be checked with cmd/launch.go:46 correctArguments(...)
10 can be checked manually
The text was updated successfully, but these errors were encountered:
To make
alpine edit
more useful, at the end, it should do a quick parse & validate of theconfig.yaml
file(s) which were edited and relay a message about their validity, erroring if one or more are invalid:alias
is invalidimage
not found in~/.macpine/cache
or not on filesystemarch
not one ofaarch64
orx86_64
cpu
not a positive integermemory
not a positive integer >= 256disk
not a valid sizemount
not a directory on the hostport
string invalidsshport
not a positive integerlocation
not correct (~/.macpine/instance-name
matchingalias
)yaml
librarycmd/rename.go:100 validateName(...)
cmd/launch.go:46 correctArguments(...)
The text was updated successfully, but these errors were encountered: