[one-users] Changing /var/lib/one location

2014-06-17 Thread kerryhall .
Hi folks, I was wondering how to change the location of /var/lib/one. I have tried making a symlink from /var/lib/one to a new location before installing the ONE packages, but for some reason generating the ssh key (and possibly other installation steps) failed. My reason for doing so is that I

Re: [one-users] Changing /var/lib/one location

2014-06-17 Thread Alberto Zuin - Liste
Hi, you can mount your partition directly on /var/lib/one or you can bind your mount to /var/lib/one (for ex. mount -o bind /mnt/newpart /var/lib/one) My 2 cents, Alberto Il 17/06/14 18:18, kerryhall . ha scritto: Hi folks, I was wondering how to change the location of /var/lib/one. I have

Re: [one-users] Changing /var/lib/one location

2014-06-17 Thread kerryhall .
That's a good idea. Let me give that a try. Thank you! Kerry On Tue, Jun 17, 2014 at 10:21 AM, Alberto Zuin - Liste li...@albertozuin.eu wrote: Hi, you can mount your partition directly on /var/lib/one or you can bind your mount to /var/lib/one (for ex. mount -o bind /mnt/newpart

Re: [one-users] Changing /var/lib/one location

2014-06-17 Thread kerryhall .
This seems to have _mostly_ worked. I created a logical volume and mounted it at /var/lib/one, installed the opennebula packages, and then changed the ownership to the oneadmin user. However, I have noticed two issues. 1. .ssh was not created. (but all other files appear to have been created

Re: [one-users] Changing /var/lib/one location

2014-06-17 Thread Javier Fontan
I believe that the problem is selinux. It does not let create and maybe use ssh keys outside /home directory. Try disabling selinux before installing the package. # setenforce 0 On Tue, Jun 17, 2014 at 8:51 PM, kerryhall . kerryh...@gmail.com wrote: This seems to have _mostly_ worked. I created

Re: [one-users] Changing /var/lib/one location

2014-06-17 Thread kerryhall .
Hmm, looks like selinux was already disabled. Not sure what's going on there. I generated the ssh key manually and everything _seems_ to be working as expected. Thanks! On Tue, Jun 17, 2014 at 12:37 PM, Javier Fontan jfon...@opennebula.org wrote: I believe that the problem is selinux. It