~louis/+junk/nova-compute

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/contrib/storage/linux/utils.py

  • Committer: Edward Hope-Morley
  • Date: 2014-03-26 18:08:46 UTC
  • mfrom: (55.1.1 nova-compute.lp1273067)
  • Revision ID: edward.hope-morley@canonical.com-20140326180846-o2mo693uow2urlpj
[hopem] Added support for ceph-client logging to syslog

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
    :param block_device: str: Full path of block device to clean.
24
24
    '''
25
 
    check_call(['sgdisk', '--zap-all', '--mbrtogpt', block_device])
 
25
    check_call(['sgdisk', '--zap-all', '--clear',
 
26
                '--mbrtogpt', block_device])