/srv/irclogs.ubuntu.com/2021/05/07/#cloud-init.txt

=== hjensas|afk is now known as hjensas
minimallooking at the code for cc_disk_setup I see a reference to "remove" inside the "layout" section (link 807) but don't see that documented anywhere16:14
rharperif there is any doc for that, likley in the template docstring at the top ;  possibly in docs/examples stuff ...16:18
minimalrharper: don't see it mentioned in either examples or at top of file16:28
minimalit seems to be complementary/conflicting functionality to "overwrite" boolean16:31
rharperit looks to be separate ... please clear this disk;.... that is all16:34
rharperI can see some use for that16:35
minimalyeah, just wondering as its undocumented and no examples mention it whether anyone's actually using it.16:42
minimal"remove: true" seems to wipe fs/partition signatures and zaps partitioning labels, whereas "overwrite: true" will overwrite any existing partitions/filesystems16:45
minimalnot sure exactly what would happen (and in which order) if you set both "overwrite: true" and "remove: true"16:47
rharperI think it wouldn't do anything other than wipe everything;17:01
rharperthe bad combination is remove: true and fs_setup: stuff ...17:02
rharperit's worth documenting and having examples;  we could drop it; but I do think "please wipe this disk" is a useful feature in disk_setup17:03
minimalrharper: yeah, i'm doing some tests here with a VM to understand how it works and then i'll raise a PR to document it17:09
rharperminimal: cool, sounds good17:41

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!