fix: ostemplate update recreate
This commit is contained in:
@@ -211,7 +211,6 @@ func (p *Plugin) Read(ctx context.Context, req *resource.ReadRequest) (*resource
|
|||||||
VMID: req.NativeID,
|
VMID: req.NativeID,
|
||||||
Hostname: lxcdata.Hostname,
|
Hostname: lxcdata.Hostname,
|
||||||
Description: lxcdata.Description,
|
Description: lxcdata.Description,
|
||||||
OSTemplate: "",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
propsJSON, err := json.Marshal(properties)
|
propsJSON, err := json.Marshal(properties)
|
||||||
|
|||||||
@@ -26,7 +26,6 @@ class LXC extends formae.Resource {
|
|||||||
vmid: String
|
vmid: String
|
||||||
|
|
||||||
@formae.FieldHint {
|
@formae.FieldHint {
|
||||||
createOnly = true
|
|
||||||
writeOnly = true
|
writeOnly = true
|
||||||
}
|
}
|
||||||
ostemplate: String?
|
ostemplate: String?
|
||||||
|
|||||||
Reference in New Issue
Block a user