-RELEASE=3.0
+RELEASE=3.1
PACKAGE=pve-cluster
PKGVER=3.0
-PKGREL=5
+PKGREL=6
ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
check_cfs_is_mounted();
- mkdir $authdir || die "unable to create dir '$authdir' - $!\n";
+ -d $authdir || mkdir $authdir || die "unable to create dir '$authdir' - $!\n";
my $cmd = "openssl genrsa -out '$authprivkeyfn' 2048";
run_silent_cmd($cmd);
sub setup_rootsshconfig {
+ # create ssh key if it does not exist
+ if (! -f $ssh_rsa_id) {
+ mkdir '/root/.ssh/';
+ system ("echo|ssh-keygen -t rsa -N '' -b 2048 -f ${ssh_rsa_id_priv}");
+ }
+
# create ssh config if it does not exist
if (! -f $rootsshconfig) {
mkdir '/root/.ssh';
sub setup_ssh_keys {
- # create ssh key if it does not exist
- if (! -f $ssh_rsa_id) {
- mkdir '/root/.ssh/';
- system ("echo|ssh-keygen -t rsa -N '' -b 2048 -f ${ssh_rsa_id_priv}");
- }
-
mkdir $authdir;
my $import_ok;
my ($param) = @_;
PVE::Cluster::setup_rootsshconfig();
- PVE::Cluster::setup_ssh_keys();
PVE::Cluster::gen_pve_vzdump_symlink();
die "no quorum - unable to update files\n";
}
+ PVE::Cluster::setup_ssh_keys();
+
PVE::Cluster::gen_pve_node_files($nodename, $local_ip_address, $param->{force});
PVE::Cluster::ssh_merge_keys();
PVE::Cluster::ssh_merge_known_hosts($nodename, $local_ip_address);
+pve-cluster (3.0-6) unstable; urgency=low
+
+ * avoid warning when adding a new node (can't create shared ssh key database...)
+
+ * avoid warning if /etc/pve/priv/ already exists
+
+ -- Proxmox Support Team <support@proxmox.com> Tue, 20 Aug 2013 08:58:17 +0200
+
pve-cluster (3.0-5) unstable; urgency=low
* add migration_unsecure param to datacenter.cfg