Module: Xen::Util

Defined in:
lib/xen/util.rb

Class Method Summary collapse

Class Method Details

.generate_root_passwordObject



4
5
6
7
# File 'lib/xen/util.rb', line 4

def generate_root_password
  pwgen = System::Command.new("pwgen 16 1", :command_level => 1)
  return pwgen.execute
end