Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am just-wow on github.
* I am artemandreev (https://keybase.io/artemandreev) on keybase.
* I have a public key ASCoT_c0wgvFb-Isp8K9L96poM70q8LHVpMZ5223ulJ6jQo
To claim this, I am signing this object:
### Keybase proof
I hereby claim:
* I am just-wow on github.
* I am justwow (https://keybase.io/justwow) on keybase.
* I have a public key ASAKc6f9q6_SGR_J5hG3YpUh9KQ0ksgGkNGZmbXRTzmZygo
To claim this, I am signing this object:
---
stages:
network_provisioning: &network_provisioning
title: Network Provisioning
env: [ ENV_VAR1, ENV_VAR2 ]
shell: ip create $ENV_VAR
storage_provisioning: &storage_provisioning
title: Storage Provisioning
shell: shell command 1
devices.each do |device|
disk = new Hash
disk[:uuid] = get_device_uuid(device)
disk[:device] = device
if disk[:uuid].nil?
if has_partition_table(device)
if !empty_partition_table(device)
# probably there's some unsupported file system on the first partition - don't touch it
say("Unable to read disk UUID, although device seem to have data on it - skipping")
devices.each do |device|
disk = new Hash
disk[:uuid] = get_device_uuid(device)
disk[:device] = device
if disk[:uuid].nil?
if has_partition_table(device)
if !empty_partition_table(device)
# probably there's some unsupported file system on the first partition - don't touch it
say("Unable to read disk UUID, although device seem to have data on it - skipping")