Commit Graph

229 Commits

Author SHA1 Message Date
fnux e14ac947c1 Fix --accel parameter for oneshot 2020-01-30 08:44:41 +01:00
fnux 3e69fb275f Oneshot: cleanup CLI, initial networking support 2020-01-29 10:08:15 +01:00
fnux 618fecb73f Initial implementation (no networking) of uncloud-oneshot 2020-01-28 16:30:43 +01:00
fnux e2cd44826b Fix typo in hack/vm.py 2020-01-28 13:45:20 +01:00
fnux 1758629ca1 Add minimal doc to hack/vm.py 2020-01-28 12:33:36 +01:00
fnux a759b8aa39 VMM: make use of socket_dir 2020-01-28 12:24:26 +01:00
fnux 4c6a126d8b Hack/VM: wire get_vnc and list_vms 2020-01-28 11:02:18 +01:00
fnux 2b71c1807d Wire uncloud-hack vm module to VMM 2020-01-28 09:25:25 +01:00
fnux cbcaf63650 Update VM images documentation (upstream images, uncloud-init) 2020-01-26 12:04:37 +01:00
Dominique Roux 5d05e91335 added hackerprefix argument, changed the commandline structure of vm to work better with sudo 2020-01-24 17:12:50 +01:00
Dominique Roux 8cc58726d0 Merge branch 'master' of code.ungleich.ch:uncloud/uncloud 2020-01-24 14:34:36 +01:00
Dominique Roux 5711bf4770 bugfixes in vm 2020-01-24 14:34:34 +01:00
Nico Schottelius ae3482cc71 Fix and break some VM stuff 2020-01-24 14:21:38 +01:00
Nico Schottelius b1319d654a Make me and Dominique happy (aka add vxlan to bridge) 2020-01-24 14:15:48 +01:00
Nico Schottelius 93d7a409b1 Fix Dominique's sudo bug
Totally not related to my previous commit
2020-01-24 14:10:49 +01:00
Nico Schottelius 7e91f60c0a sudo fix 2020-01-24 14:10:08 +01:00
Dominique Roux 58daf8191e refactored vm.py to create a VM 2020-01-24 13:56:08 +01:00
Nico Schottelius b5409552d8 prepare vm.py for dominique 2020-01-23 21:20:16 +01:00
Dominique Roux 550937630c Merge branch 'master' of code.ungleich.ch:uncloud/uncloud 2020-01-23 21:17:30 +01:00
Dominique Roux 46a04048b5 small changes in vm.py to make it more generic 2020-01-23 21:17:09 +01:00
Nico Schottelius 3ddd27a08d Merge branch 'master' of code.ungleich.ch:uncloud/uncloud 2020-01-23 21:16:10 +01:00
Nico Schottelius c881c7ce4d hack mac: be a proper python class 2020-01-23 21:15:26 +01:00
Dominique Roux d5a7f8ef59 Merge branch 'master' of code.ungleich.ch:uncloud/uncloud 2020-01-23 18:43:42 +01:00
Dominique Roux 0982927c1b Added DNSmasq ability for RA 2020-01-23 18:43:41 +01:00
Nico Schottelius 8e839aeb44 commit stuff before dominique does 2020-01-23 18:41:59 +01:00
Nico Schottelius 8888f5d9f7 add logging 2020-01-19 12:55:06 +01:00
Nico Schottelius bd9dbb12b7 Cleanup networking 2020-01-19 11:30:41 +01:00
Nico Schottelius 30be791312 Be less verbose when reinstalling 2020-01-19 11:30:30 +01:00
Nico Schottelius 2b8831784a [pep440] improve versioning name for python 2020-01-19 11:30:16 +01:00
Nico Schottelius b847260768 ++network 2020-01-19 09:16:29 +01:00
Nico Schottelius 1b5a3f6d2e Progress with networking 2020-01-15 13:26:05 +01:00
Nico Schottelius 8a451ff4ff [hack] phase in networking 2020-01-15 12:40:37 +01:00
Nico Schottelius bd03f95e99 [docs] move one level higher 2020-01-15 11:32:23 +01:00
Nico Schottelius 26d5c91625 Update hacking docs 2020-01-15 10:53:22 +01:00
Nico Schottelius b877ab13b3 add hack code 2020-01-15 10:02:37 +01:00
Nico Schottelius 12e8ccd01c Cleanups for mac handling 2020-01-14 19:10:59 +01:00
Nico Schottelius 8078ffae5a Add working --last-used-mac
{'create_vm': False, 'last_used_mac': True, 'get_new_mac': False, 'debug': False, 'conf_dir': '/home/nico/uncloud', 'etcd_host': 'etcd1.ungleich.ch', 'etcd_port': None, 'etcd_ca_cert': '/home/nico/vcs/ungleich-dot-cdist/files/etcd/ca.pem', 'etcd_cert_cert': '/home/nico/vcs/ungleich-dot-cdist/files/etcd/nico.pem', 'etcd_cert_key': '/home/nico/vcs/ungleich-dot-cdist/files/etcd/nico-key.pem'}
00:20:00:00:00:00
(venv) [19:02] diamond:uncloud% ./bin/uncloud-run-reinstall hack  --etcd-host etcd1.ungleich.ch --etcd-ca-cert /home/nico/vcs/ungleich-dot-cdist/files/etcd/ca.pem --etcd-cert-cert /home/nico/vcs/ungleich-dot-cdist/files/etcd/nico.pem --etcd-cert-key /home/nico/vcs/ungleich-dot-cdist/files/etcd/nico-key.pem --last-used-mac
2020-01-14 19:02:15 +01:00
Nico Schottelius 1b36c2f96f Write VM to etcd 2020-01-14 14:23:26 +01:00
Nico Schottelius c0e6d6a0d8 Begin further integration of code into hack 2020-01-14 11:25:06 +01:00
Nico Schottelius 083ba43918 Integrate hack + vm create into python code 2020-01-14 11:22:04 +01:00
Nico Schottelius 22531a7459 Disable cli / otp reading for the moment
Imho this should clearly not leak into scripts/uncloud and
additionally it is broken at the moment
2020-01-14 11:09:45 +01:00
Nico Schottelius b96e56b453 Begin to integrate hack into the main script 2020-01-14 11:05:42 +01:00
Nico Schottelius 9f02b31b1b Add hacky etcd client 2020-01-13 12:54:02 +01:00
Nico Schottelius 10c8dc85ba Begin hacky database handling 2020-01-13 12:14:30 +01:00
Nico Schottelius 091131d350 dummy 2020-01-13 11:52:40 +01:00
Ahmed Bilal ab65349047 Merge branch 'conf-dir' into 'master'
Adding conf-dir and etcd-* arguments to command-line-interface

See merge request uncloud/uncloud!2
2020-01-13 05:57:42 +01:00
Ahmed Bilal c3b42aabc6 Added --conf-dir, --etcd-{host,port,ca_cert,cert_cert,cert_key} parameters to cli and settings is now accessbile through uncloud.shared.shared.settings 2020-01-13 05:57:41 +01:00
Nico Schottelius e6d22a73c5 ++ cleanup 2020-01-12 14:44:53 +01:00
Nico Schottelius 02526baaf9 add ifdown support 2020-01-12 14:43:06 +01:00
Nico Schottelius 3188787c2a ++mac change 2020-01-12 14:38:01 +01:00