Skip to content

vpslab/parted-cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Installs parted tool and provides resource for partitioning device in MBR format. Currently only primary partitions are supported.

Usage

include_recipe 'parted'

parted '/dev/mapper/vdisk-vm--dummy' do
  layout 'msdos'

  primary :size => '512M', :fstype => 'ext3', :bootable => true
  primary :size => '4G',   :fstype => 'swap'
  primary :size => '20G',  :fstype => 'ext4'

  action [:destroy, :create]
end

About

Installs parted and provides resource for partitioning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages