We're not store base/local configuration in nix/* anymore

This commit is contained in:
Mikhail Klementev 2019-12-29 17:59:09 +00:00
parent 24927bc787
commit 6505544535
No known key found for this signature in database
GPG Key ID: BE44DA8C062D87DC
1 changed files with 1 additions and 5 deletions

View File

@ -87,13 +87,9 @@ func list(l *libvirt.Libvirt) {
} }
for _, f := range files { for _, f := range files {
if f.Name() != "base.nix" &&
f.Name() != "local.nix" &&
f.Name() != "local.nix.template" {
fmt.Println("\t", f.Name()[0:len(f.Name())-4]) fmt.Println("\t", f.Name()[0:len(f.Name())-4])
} }
} }
}
func copyFile(from, to string) (err error) { func copyFile(from, to string) (err error) {
source, err := os.Open(from) source, err := os.Open(from)