Commit Graph

20 Commits

Author SHA1 Message Date
Dietmar Maurer
faa47c20e2 adopt code for changes in pve-common 2018-07-04 08:54:16 +02:00
Dietmar Maurer
5101e472b1 PVE::APIClient::Helpers::extract_even_elements - new helper 2018-07-02 10:05:45 +02:00
René Jochum
ace4a6df4b Use a different path for the lock file
This prevents lock_file from creating the config file with wrong permissions.
2018-06-20 06:42:49 +02:00
Dietmar Maurer
b400742534 implement config file locking 2018-06-15 12:28:05 +02:00
Dietmar Maurer
05d328ef65 remote_conn: try to cache tickets 2018-06-15 09:17:29 +02:00
Dietmar Maurer
bcd2a4df29 change configuration file name ~/.config/pveclient/config 2018-06-15 09:17:29 +02:00
Dietmar Maurer
b5aeedb062 rename defaut output format from 'table' to 'text' 2018-06-14 11:57:40 +02:00
Dietmar Maurer
269f8ffa5a Config.pm: use PVE::APIClient::PTY 2018-06-14 10:08:06 +02:00
Dietmar Maurer
cbfba90bd8 register stanadard option 'pveclient-output-format' 2018-06-14 09:36:54 +02:00
Dietmar Maurer
c9138c03bc use packages from PVE::APIClient 2018-06-14 09:16:02 +02:00
René Jochum
ca3269f4d8 Add update-pve-common make target to move code to PVE/APIClient. 2018-06-13 13:20:53 +02:00
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
Wolfgang Bumiller
8b45da2fb8 config: typo fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-06-12 06:27:37 +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
aa5833d6e7 Remove the File::HomeDir requirement
Simply use $ENV{HOME} instead.
2018-06-05 12:07:09 +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
06039c7f9b Add config class.
Signed-off-by: René Jochum <r.jochum@proxmox.com>
2018-06-05 06:26:17 +02:00
Dietmar Maurer
aa570b3853 move config related code to PVE/APIClient/Config.pm 2018-05-29 09:33:05 +02:00
Dietmar Maurer
a31c7b279b PVE/APIClient/Config.pm: new class to handle configuration file 2018-05-29 09:18:26 +02:00