summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2015-02-09 14:02:56 +0100
committerTails developers <amnesia@boum.org>2015-02-09 14:02:56 +0100
commitc46ead1bec9b6083c1b9e7a444450bea9f9f2b18 (patch)
tree5e49056021706eebc8a6b3a28aadfa8b4d3f467b
parent08efaa45c866d5f0dbd73e42e34ad623deef2e45 (diff)
Remove unused class attributes.
-rw-r--r--features/support/helpers/vm_helper.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/features/support/helpers/vm_helper.rb b/features/support/helpers/vm_helper.rb
index b164673..5338bcc 100644
--- a/features/support/helpers/vm_helper.rb
+++ b/features/support/helpers/vm_helper.rb
@@ -3,7 +3,7 @@ require 'rexml/document'
class VMNet
- attr_reader :net_name, :net, :ip, :mac, :bridge_name
+ attr_reader :net_name, :net, :bridge_name
def initialize(virt, xml_path)
@virt = virt
@@ -33,8 +33,6 @@ class VMNet
clean_up
@net = @virt.define_network_xml(xml)
@net.create
- @ip = net_xml.elements['network/ip/dhcp/host/'].attributes['ip']
- @mac = net_xml.elements['network/ip/dhcp/host/'].attributes['mac']
@bridge_name = @net.bridge_name
end