mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-08-16 12:49:14 +00:00
fix(vm): add isWindows guard to validateCloudInit in template version
This commit is contained in:
parent
1df5af32b8
commit
ace28d1c0e
@ -249,6 +249,10 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
validateCloudInit() {
|
validateCloudInit() {
|
||||||
|
if (this.isWindows) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (this.userScript) {
|
if (this.userScript) {
|
||||||
try {
|
try {
|
||||||
jsyaml.load(this.userScript);
|
jsyaml.load(this.userScript);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user