]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
make sure parted doesn't ask for confirmation
authorDaniel Veillard <veillard@redhat.com>
Tue, 12 Aug 2008 11:29:49 +0000 (11:29 +0000)
committerDaniel Veillard <veillard@redhat.com>
Tue, 12 Aug 2008 11:29:49 +0000 (11:29 +0000)
* src/storage_backend_disk.c: make sure parted doesn't ask
  confirmation,  patch by Cole Robinson
Daniel

ChangeLog
src/storage_backend_disk.c

index 3bfc5a35b03f41cb8967efa830778e5c15eabd91..1c192d5f7ed9af560e20acd251eff85a9d6f3b18 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Aug 12 13:28:09 CEST 2008 Daniel Veillard <veillard@redhat.com>
+
+       * src/storage_backend_disk.c: make sure parted doesn't ask
+         confirmation,  patch by Cole Robinson
+
 Tue Aug 12 13:20:07 CEST 2008 Daniel Veillard <veillard@redhat.com>
 
        * docs/storage.html[.in] src/storage_backend_disk.c: patch from
index 44a15ba2c9a9e073ab8c499b3f31e302ce85ccbe..d7d751479527de23179ae1702bd34201960dc7b0 100644 (file)
@@ -406,6 +406,7 @@ virStorageBackendDiskBuildPool(virConnectPtr conn,
         PARTED,
         pool->def->source.devices[0].path,
         "mklabel",
+        "--script",
         virStorageBackendDiskPoolFormatToString(conn, pool->def->source.format),
         NULL,
     };