[vbox] add name of ISO file to VM description

Bug #1579104 reported by Vasiliy Pleshakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Low
Vasiliy Pleshakov
Mitaka
Fix Released
Low
Maksim Malchuk

Bug Description

As a Devops I deploy a lot of fuel envs from different iso files. To differ envs one from another I need name of isofile in fuel-master VM description.

Description of the environment:
 Operation system: virtualbox scripts executed on Cygwin in Windows 7
 Versions of components: latest virtualbox scripts for Fuel 8
 Reference architecture: N/A
 Network model: N/A
 Related projects installed: N/A
Additional information:

I suggest simple fix:
--- a/actions/master-node-create-and-install.sh
+++ b/actions/master-node-create-and-install.sh
@@ -49,6 +49,9 @@ if [ ${headless} -eq 1 ]; then
   enable_vrde $name ${RDPport}
 fi

+#add name of ISO file to description
+execute VBoxManage modifyvm $name --description${iso_path##*/}
+
 if [ "${skipfuelmenu}" = "yes" ]; then
     boot_line="$(translate " vmlinuz $cmdline wait_for_external_config=yes showmenu=no"$'\n')"
 else

Tags: vbox-scripts
Changed in fuel:
assignee: nobody → Vasiliy Pleshakov (vpleshakov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-virtualbox (master)

Fix proposed to branch: master
Review: https://review.openstack.org/313585

Changed in fuel:
status: New → In Progress
Changed in fuel:
importance: Undecided → Low
milestone: none → 10.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-virtualbox (master)

Reviewed: https://review.openstack.org/313585
Committed: https://git.openstack.org/cgit/openstack/fuel-virtualbox/commit/?id=c0d375802e810f84e714c39ca121ac661f54d811
Submitter: Jenkins
Branch: master

commit c0d375802e810f84e714c39ca121ac661f54d811
Author: Vasiliy Pleshakov <email address hidden>
Date: Fri May 6 17:39:45 2016 +0300

    Add name of ISO file to VM description

    To differ envs one from another I need name of isofile in fuel-master
    VM description.

    Closes-Bug: #1579104
    Change-Id: I93560126940457518fc4385c0518ab00d4b3dead

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-virtualbox (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/313859

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-virtualbox (stable/mitaka)

Reviewed: https://review.openstack.org/313859
Committed: https://git.openstack.org/cgit/openstack/fuel-virtualbox/commit/?id=8d776caeabbf3f88acecc8f5b00b487e964dc9c2
Submitter: Jenkins
Branch: stable/mitaka

commit 8d776caeabbf3f88acecc8f5b00b487e964dc9c2
Author: Vasiliy Pleshakov <email address hidden>
Date: Fri May 6 17:39:45 2016 +0300

    Add name of ISO file to VM description

    To differ envs one from another I need name of isofile in fuel-master
    VM description.

    Closes-Bug: #1579104
    Change-Id: I93560126940457518fc4385c0518ab00d4b3dead
    (cherry picked from commit c0d375802e810f84e714c39ca121ac661f54d811)
    Signed-off-by: Maksim Malchuk <email address hidden>

tags: added: vbox-scripts
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.