def transform_options(self, options):
        options['<device>'] = options.pop('<device>')[0]
Restores the currently installed packages to those snapshotted.
dataset/ETHPy150Open openlmi/openlmi-scripts/commands/storage/lmi/scripts/storage/cmd/partition.py/PartitionCreate.transform_options--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/linux_virtual_machine.py/RhelMixin.RestorePackages