lib/veewee/provider/parallels/box/create.rb in veewee-0.3.0.alpha6 vs lib/veewee/provider/parallels/box/create.rb in veewee-0.3.0.alpha7
- old
+ new
@@ -43,10 +43,10 @@
command ="prlctl set '#{self.name}' --device-del cdrom0"
shell_exec("#{command}")
#
# Attach cdrom
full_iso_file=File.join(env.config.veewee.iso_dir,definition.iso_file)
- env.ui.info "Mounting cdrom: #{full_iso_file}"
+ ui.info "Mounting cdrom: #{full_iso_file}"
command ="prlctl set '#{self.name}' --device-add cdrom --enable --image '#{full_iso_file}'"
shell_exec("#{command}")
#Enable the network again
command="prlctl set '#{self.name}' --device-add net --enable --type shared"