← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1459464] [NEW] fs_config fails to set force flag

 

Public bug reported:

It looks like the force flag is never appended because fs_cmd is always
set:

http://bazaar.launchpad.net/~cloud-init-dev/cloud-
init/trunk/view/head:/cloudinit/config/cc_disk_setup.py#L843

It is probably safe to change
if not fs_cmd and (overwrite or device_type(device) == "disk"):
to
if overwrite:

(not sure how the device_type(device) == disk helps us here- maybe this
should be an and instead of or?).

Thanks,

Kevin

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1459464

Title:
  fs_config fails to set force flag

Status in Init scripts for use on cloud images:
  New

Bug description:
  It looks like the force flag is never appended because fs_cmd is
  always set:

  http://bazaar.launchpad.net/~cloud-init-dev/cloud-
  init/trunk/view/head:/cloudinit/config/cc_disk_setup.py#L843

  It is probably safe to change
  if not fs_cmd and (overwrite or device_type(device) == "disk"):
  to
  if overwrite:

  (not sure how the device_type(device) == disk helps us here- maybe
  this should be an and instead of or?).

  Thanks,

  Kevin

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


Follow ups

References