Re: [one-users] BOOTPROTO, DHCP_HOSTNAME, and vm IPs in Sunstone

2014-09-17 Thread kerryhall .
I would definitely not prefer that the vm manage the IP. What I would like to do upon new vm creation: 1. VM gets spun up with BOOTPROTO=dhcp 2. VM gets spun up with DHCP_HOSTNAME=$NAME 3. IP given to the VM by the dhcp server on my network is then the IP that is listed in sunstone for that VM.

Re: [one-users] Run bash script in vm on spin-up

2014-09-11 Thread kerryhall .
/99-execute-scripts Best, Valentin On Mon, Sep 8, 2014 at 11:09 PM, kerryhall . kerryh...@gmail.com wrote: Thanks! I'm still having issues here unfortunately. I tried putting: FILES_DS=$FILE[IMAGE=\test.sh\] into my template context section, but I get: User 0 does not own an image

Re: [one-users] BOOTPROTO, DHCP_HOSTNAME, and vm IPs in Sunstone

2014-09-08 Thread kerryhall .
:01 = 02:00 + 10.0.0.1 (in hex is 0a:00:00:01) [1] https://github.com/OpenNebula/addon-context-linux/blob/master/base_rpm/etc/one-context.d/00-network#L103-L114 On Sat, Sep 6, 2014 at 12:23 AM, kerryhall . kerryh...@gmail.com wrote: Hi folks, I have a small ONE cluster that I am currently

Re: [one-users] Run bash script in vm on spin-up

2014-09-08 Thread kerryhall .
FILES_DS. FILES_DS=$FILE[IMAGE=\test.sh\] [1]: http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html Best, Valentin On Fri, Jul 25, 2014 at 11:29 PM, kerryhall . kerryh...@gmail.com wrote: Hi folks, I am trying to run a bash script on a vm as it gets spun up. I've read

Re: [one-users] BOOTPROTO, DHCP_HOSTNAME, and vm IPs in Sunstone

2014-09-08 Thread kerryhall .
It sounds like it's not really possible for a DHCP client to suggest an IP to the DHCP server. I think I would like to make a feature request: easy DHCP integration. Does my use case make sense? I can clarify further if needed. Thanks!! On Mon, Sep 8, 2014 at 12:35 PM, kerryhall . kerryh

[one-users] BOOTPROTO, DHCP_HOSTNAME, and vm IPs in Sunstone

2014-09-05 Thread kerryhall .
Hi folks, I have a small ONE cluster that I am currently setting up on 4.8. I have a ethernet network model, and I have added the following line to my template: SET_HOSTNAME=$NAME.mydomain.int So far so good, but I need to be able to do the following three things: 1. set BOOTPROTO=dhcp in

[one-users] Run bash script in vm on spin-up

2014-07-25 Thread kerryhall .
Hi folks, I am trying to run a bash script on a vm as it gets spun up. I've read: http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html but there isn't too much to go on there. I have created test.sh and put it into the files datastore on the head node. The issue I am having is

Re: [one-users] DHCP

2014-07-24 Thread kerryhall .
at 10:45 PM, kerryhall . kerryh...@gmail.com wrote: I have managed to figure out how to edit my template (onetemplate update TEMPLATE_ID) so I can now set the hostname. However, DNS and DHCP are tied into one system on my network, so I can't perform a dig on my new server and get the IP back

Re: [one-users] Setting hostname for vm

2014-07-22 Thread kerryhall .
Thanks! So it sounds like I need to edit the vm description file and change the hostname variable. Where is the vm description file located? I tried running the following google search: site:http://docs.opennebula.org/4.6/ vm description file But only got one result,

[one-users] DHCP

2014-07-22 Thread kerryhall .
Hi folks, I want to configure Open Nebula to contextualize two items for ifcfg-eth0. BOOTPROTO=dhcp and DHCP_HOSTNAME=parameter passed in via ONE web interface, even just vm-name would work I need no other networking settings. DHCP on my network handles the rest. I have tried manually setting

[one-users] Setting hostname for vm

2014-07-21 Thread kerryhall .
Hi folks, I'm trying to determine how I can set the hostname for the vms I spin up. It looks like the web interface for vms has no place to enter additional one-off type properties, like hostname. This is true for both the user web interface and the admin web interface. The template creation

[one-users] Setting up a system datastore using ssh driver

2014-06-18 Thread kerryhall .
Hi folks, I'm trying to set up my hosts to have the vm disk images stored locally. From the ONE docs, it looks like I need to create a system datastore using the ssh driver. However, I have done so yet the disk images remain on the frontend node. I used Sunstone to create a new datastore with

Re: [one-users] Setting up a system datastore using ssh driver

2014-06-18 Thread kerryhall .
, Javier Fontan jfon...@opennebula.org wrote: In the frontend the datastores are always at /var/lib/one/datastores. The base path is only for nodes. If you want to use another filesystem or path mount it in the datastore location or use a symlink. On Wed, Jun 18, 2014 at 8:23 PM, kerryhall

Re: [one-users] Setting up a system datastore using ssh driver

2014-06-18 Thread kerryhall .
Ok, in my excitement getting things tested here, I neglected to enable virtualization in the BIOS on my second host. o_O This works now!! Thanks for the help Javier!! Kerry On Wed, Jun 18, 2014 at 3:47 PM, kerryhall . kerryh...@gmail.com wrote: Sorry if I'm not understanding this correctly

[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 kerryhall .
/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 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

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

2014-06-17 Thread kerryhall .
not do certain things. (like set up .ssh, perhaps) Any suggestions would be appreciated! Kerry On Tue, Jun 17, 2014 at 11:09 AM, kerryhall . kerryh...@gmail.com wrote: 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

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

2014-06-17 Thread kerryhall .
. 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 a logical volume and mounted

Re: [one-users] 4.4 Installation instructions are incorrect

2014-06-10 Thread kerryhall .
://opennebula.org/software/release/ kerryhall . wrote on 10/06/14 02:45: Hi folks, I followed the instructions here: http://docs.opennebula.org/4.4/design_and_installation/ quick_starts/qs_centos_kvm.html#qs-centos-kvm But I end up with version 4.6, not version 4.4. 4.6 is nice, but I would

Re: [one-users] 4.4 Installation instructions are incorrect

2014-06-10 Thread kerryhall .
http://docs.opennebula.org/4.4/ It says 4.4 (Stable) and 4.6 (Devel) On Tue, Jun 10, 2014 at 12:23 AM, kerryhall . kerryh...@gmail.com wrote: On this page here: On Tue, Jun 10, 2014 at 12:19 AM, kna...@gmail.com wrote: Hello Kerry! What makes you think that 4.6 is development version

Re: [one-users] 4.4 Installation instructions are incorrect

2014-06-10 Thread kerryhall .
is the following: user starts from OpenNebula home page (opennebula.org), then click on Documentation ( http://opennebula.org/documentation/) which contains the documentation on the latest stable release. Currently it is written the following: OpenNebula 4.6 Guides (Latest Stable). kerryhall

[one-users] 4.4 Installation instructions are incorrect

2014-06-09 Thread kerryhall .
Hi folks, I followed the instructions here: http://docs.opennebula.org/4.4/design_and_installation/quick_starts/qs_centos_kvm.html#qs-centos-kvm But I end up with version 4.6, not version 4.4. 4.6 is nice, but I would like to use the stable version for my use, not the development version. I