Is there a command on 20.04 that prints out current disk into like cloud-init wants it
Jerry Geis
jerry.geis at gmail.com
Wed Sep 1 19:55:10 UTC 2021
Is there a command on 20.04 that prints out the cloud-init information for
the disk ?
Like this:
storage:
config:
- {ptable: msdos, wipe: superblock-recursive, preserve: false, name:
'', grub_device: true, type: disk, id: disk-0, match: {size: largest}}
- {device: disk-0, size: -1, wipe: superblock, flag: '', number: 1,
preserve: false, grub_device: false, type: partition, id: partition-1}
- {fstype: ext4, volume: partition-1, preserve: false, type: format,
id: format-1}
- {device: format-1, path: /, type: mount, id: mount-1}
Type of output ?
I desire to print the current disk /dev/sda as like above ?
How/where is that done ?
Thanks
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20210901/0ae138c3/attachment.html>
More information about the ubuntu-users
mailing list