From 95425953ec8190c8e276a7bd3c37a69c94a4a51f Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Sun, 30 Oct 2016 15:04:14 +0100 Subject: lvc: drop some unneeded cleverness re. LVM names Signed-off-by: Holger Levsen --- cucumber/features/step_definitions/common_steps.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cucumber/features/step_definitions/common_steps.rb') diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb index 8085c048..be5e887d 100644 --- a/cucumber/features/step_definitions/common_steps.rb +++ b/cucumber/features/step_definitions/common_steps.rb @@ -152,9 +152,8 @@ Given /^the computer is set to boot from the Tails DVD$/ do $vm.set_cdrom_boot(TAILS_ISO) end -Given /^the computer is set to boot from (.+?) drive "(.+?)"$/ do |type, name| - debug_log("debug: setting computer to boot from drive: name='#{name}' (type=#{type})", :color => :blue) - $vm.set_disk_boot(name, type.downcase) +Given /^the computer is set to boot from (.+?) drive$/ do |type| + $vm.set_disk_boot(JOB_NAME, type.downcase) end Given /^I (temporarily )?create a (\d+) ([[:alpha:]]+) disk named "([^"]+)"$/ do |temporary, size, unit, name| -- cgit v1.2.3-70-g09d2