ogcli/cli/objects
Jose M. Guisado 01ed5a3039 Add "setup disk" command
Enables sending format and partition commands to the ogServer.

Syntax: ogcli setup disk {options}

Options are:

  --type [{dos,gpt}]    Disk partition scheme
  --num [NUM]           Disk number (defaults to 1)
  --format [FORMAT]     Indicates which partitions to reformat if they
                        are already present. Use --part alone to mean all
                        partitions.
  --part PART [PART ...]
                        Partition definition (syntax:
                        "num,part_scheme,fs,size")

	size is specified as a positive digit followed by a size unit
	like [MGT]

		512M, 50G, 1T, etc.

	ogcli accepts {LINUX,WINDOWS,EFI,CACHE} as part types and {EXT4,
	NTFS, FAT32, CACHE} as filesystem types inside the partition
	definition string

	1,LINUX,EXT4,50G => partition 1, of type linux with ext4 fs of
			    50 GB size

	If you wanted to add a partition cache (OpenGnsys usually
	mandates this partition to be number 4) you can omit partitions
	up to that number and ogcli will fill with EMPTY partitions.

	So if you define the following parts:
		--part 1,...
		--part 4,...
	ogcli will fill parts 2 and 3 with EMPTY part type and fs.

Client selection argument follow previous used options

  --center-id CENTER_ID
  --room-id ROOM_ID
  --client-ip CLIENT_IP
2021-04-07 12:58:54 +02:00
..
__init__.py Rename files to remove 'og' prefix 2020-06-30 12:51:51 +02:00
client.py Print json instead of python dict in responses 2021-03-18 15:40:35 +01:00
disks.py Add "setup disk" command 2021-04-07 12:58:54 +02:00
images.py Add 'create image' 2021-04-06 13:16:46 +02:00
modes.py Fix utils.py 2021-03-30 13:29:06 +02:00
poweroff.py Add 'send poweroff' command 2021-04-06 13:16:46 +02:00
scopes.py Print json instead of python dict in responses 2021-03-18 15:40:35 +01:00
wol.py Add WoL sending capability 2021-03-29 13:47:28 +02:00