Skip to content
Permalink
Browse files

Cleanup

  • Loading branch information...
subuk committed Aug 31, 2019
1 parent 952e249 commit 8e204d7d84a959b380358da0dbcece8ed8cda5cd
Showing with 0 additions and 17 deletions.
  1. +0 −17 main.go
17 main.go
@@ -9,23 +9,6 @@ import (
)

func main() {
// connPool := libvirt.NewConnectionPool("qemu+ssh://mkruglov@co101.ash1.fun.co/system?socket=/var/run/libvirt/libvirt-sock")
// machinesRepo := libvirt.NewVirtualMachineRepository(connPool)
// machines, err := machinesRepo.List()
// if err != nil {
// panic(err)
// }
// for _, machine := range machines {
// fmt.Println(machine.Id, machine.VCpus, "cpus", machine.Memory/1024, "MiB of memory")
// for _, volume := range machine.Volumes {
// fmt.Println(" ", volume.Type, volume.Path)
// }
// for _, iface := range machine.Interfaces {
// fmt.Println(" ", "interface", iface.Mac)
// }
// }
// pw, _ := bcrypt.GenerateFromPassword([]byte("admin"), bcrypt.DefaultCost)
// fmt.Println(string(pw))
parser := argparse.NewParser("vmango", "Vmango Virtual Machine Manager")
configFilename := parser.String("c", "config", &argparse.Options{
Default: util.GetenvDefault("VMANGO_CONFIG", "vmango.conf"),

0 comments on commit 8e204d7

Please sign in to comment.
You can’t perform that action at this time.