mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-22 20:54:49 +09:00
1 parent
d45bd83b7c
commit
7598dc4bb4
1 file changed
+4
-2
@@ -94,8 +94,10 @@ require 'opennebula'
|
||||
|
||||
data = Nokogiri::XML(Base64.decode64(STDIN.read))
|
||||
|
||||
packet = Packet::Client.new
|
||||
packet.auth_token = data.xpath('//AR/PACKET_TOKEN').text
|
||||
ar_token = data.xpath('//AR/PACKET_TOKEN').text
|
||||
|
||||
packet = Packet::Client.new
|
||||
packet.auth_token = ar_token
|
||||
|
||||
ip = Packet::Ip.new
|
||||
ip.project_id = data.xpath('//AR/PACKET_PROJECT').text
|
||||
|
||||
Reference in new issue
Block a user