examples: lang: Reinstate mcl as unification bug is fixed

Struct field names now correctly map based on their `lang` tags in Go
structs, so this example now works as originally intended.

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
Joe Groocock
2021-02-01 18:28:35 +00:00
parent 6b14c9bea4
commit db95b6381f

View File

@@ -29,26 +29,24 @@ virt "mgmt4" {
state => "running",
transient => false,
boot => ["hd", ],
# can't add this part until we fix the unification bug
#disk => [
# struct{
# source => "~/.local/share/libvirt/images/fedora-23-scratch.qcow2",
# type => "qcow2",
# },
#],
# add the rest for unification bug
#osinit => "",
#cdrom => [
#],
#network => [
#],
#filesystem => [
#],
#auth => struct{
# username => "",
# password => "",
#},
#hotcpus => true, # this is the default
#restartondiverge => "",
#restartonrefresh => false,
disk => [
struct{
source => "~/.local/share/libvirt/images/fedora-23-scratch.qcow2",
type => "qcow2",
},
],
osinit => "",
cdrom => [
],
network => [
],
filesystem => [
],
auth => struct{
username => "",
password => "",
},
hotcpus => true, # this is the default
restartondiverge => "",
restartonrefresh => false,
}