From e5ccd6d9131e50e4571f1287a5be5232051e9948 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sun, 29 Dec 2019 16:31:22 +0000 Subject: [PATCH] Move out xml template --- appvm.go | 74 --------------------------------------------------- xml.go | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+), 74 deletions(-) create mode 100644 xml.go diff --git a/appvm.go b/appvm.go index ada561c..4559aa2 100644 --- a/appvm.go +++ b/appvm.go @@ -30,74 +30,6 @@ import ( kingpin "gopkg.in/alecthomas/kingpin.v2" ) -var xmlTmpl = ` - - %s - 2 - 1 - 4 - - hvm - %s/kernel - %s/initrd - loglevel=4 init=%s/init %s - - - - - - destroy - restart - destroy - - - - - - - - - - - - - - - - -