I recommend to back this change out and re-approach.  2 major things we
found during testing

1) While this solution fixes the example given in the docs and the bug
description, another error is hit as seen in comment #7 and comment #8.
This needs debugging.

2) no protection against an array being specified originally.  I.e., if
someone had a config like this they are now broken:

#cloud-config
 fs_setup:
     - special:
       cmd: [ "mkfs", "-t" ... ]

The commit to back out appears to be
4f0f171c29bb9abb5cbb6f9adbe68015089aeed9

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1687712

Title:
  cc_disk_setup: fs_setup with cmd doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1687712/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to