mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
New API: set_uuid_random
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
This commit is contained in:
committed by
Pino Toscano
parent
db9bd61585
commit
a477e282db
@@ -159,6 +159,12 @@ do_set_e2uuid (const char *device, const char *uuid)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
ext_set_uuid_random (const char *device)
|
||||
{
|
||||
return do_set_e2uuid (device, "random");
|
||||
}
|
||||
|
||||
char *
|
||||
do_get_e2uuid (const char *device)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user