This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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: |