Method: Lpar#set_multi_attr_profile
- Defined in:
- lib/rbvppc/lpar.rb
#set_multi_attr_profile(options) ⇒ Object
Set multiple LPAR profile attributes in a single call.
253 254 255 256 257 |
# File 'lib/rbvppc/lpar.rb', line 253 def set_multi_attr_profile() = .map{|key,val| "#{key}=#{val}"}.join(',') cmd = "chsyscfg -m #{frame} -r prof -i \"name=#{current_profile}, lpar_name=#{name}, #{profile_options} \" " hmc.execute_cmd(cmd) end |