Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def _mount_partitions()
- @setup.partition_table.each do |dev,info|
- if info[:format_type] == "swap"
- `swapon #{dev}`
- else
- if %w(/ /home).index(info[:mount_point])
- path = File.join(@target,info[:mount_point])
- `mount -t #{info[:format_type]} #{dev} #{path}`
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement