Sha256: 0287923b222611bc61481a8891ffceb751aa378386dae27bca27491af03952b6

Contents?: true

Size: 559 Bytes

Versions: 6

Compression:

Stored size: 559 Bytes

Contents

# Initialize disk

- partition_disk:
  - check_cmd_out: parted
  - exec_out: |
      echo "Partitioning disk..."
      parted -s $${disk_device} mklabel msdos
      parted -s -a none $${disk_device} mkpart primary 64s 100%
      parted -s $${disk_device} set 1 boot on
  - exec_out: |
      echo Creating root partition...
      mkfs.$$filesystem_type -q $${disk_device}1 || fail cannot create / ext4

- mount_mountdir:
  - exec_out: mkdir -p $$rootfs
  - exec_out:  "echo Mounting root partition... ;  mount $${disk_device}1 $$rootfs || fail cannot mount /"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kameleon-builder-2.2.5 templates/steps/bootstrap/initialize_disk.yaml
kameleon-builder-2.2.4 templates/steps/bootstrap/initialize_disk.yaml
kameleon-builder-2.2.3 templates/steps/bootstrap/initialize_disk.yaml
kameleon-builder-2.2.2 templates/steps/bootstrap/initialize_disk.yaml
kameleon-builder-2.2.1 templates/steps/bootstrap/initialize_disk.yaml
kameleon-builder-2.2.0 templates/steps/bootstrap/initialize_disk.yaml