Commit Graph

11 Commits

Author SHA1 Message Date
Dietmar Maurer
a6dab5b8ed Config.pm: add new defaults sections
And implement a new command to setup defaults.
2018-06-12 11:17:45 +02:00
Dietmar Maurer
8842464b81 allow to setup remotes without password
And query the password on demand.
2018-06-06 07:02:36 +02:00
Dietmar Maurer
a304c3d793 remote add: fix connection setup 2018-06-06 06:59:14 +02:00
Dietmar Maurer
69aa81b396 use SectionConfig for PVE::APIClient::Config 2018-06-05 11:44:45 +02:00
Dietmar Maurer
184877d47a register standard option inside PVE::APIClient::Config 2018-06-05 08:03:57 +02:00
René Jochum
f79acf69e7 Implement remote remove
Signed-off-by: René Jochum <r.jochum@proxmox.com>
2018-06-05 07:38:14 +02:00
René Jochum
e2ca543cee Add a basic implementation of remote list
Signed-off-by: René Jochum <r.jochum@proxmox.com>
2018-06-05 07:10:10 +02:00
René Jochum
2d0ebe218c Implement remote add
Signed-off-by: René Jochum <r.jochum@proxmox.com>
2018-06-05 07:03:28 +02:00
René Jochum
06039c7f9b Add config class.
Signed-off-by: René Jochum <r.jochum@proxmox.com>
2018-06-05 06:26:17 +02:00
Dietmar Maurer
3454a319f2 use new PVE::APIClient::Config class, register_standard_option 'pveclient-remote-name'
and implement command line completion for 'remote' names.
2018-05-29 09:20:25 +02:00
Dietmar Maurer
565bbc73ca copy and use files from pve-common packages
We don't want to depend on pve-common, so we simply copy used files.
2018-05-23 10:53:55 +02:00