Stages/waagent.conf: fix copy&paste error
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
bea378f191
commit
d41d8ecb3f
1 changed files with 3 additions and 3 deletions
|
|
@ -12,9 +12,9 @@ def bool_to_y_n(b):
|
|||
|
||||
|
||||
def main(tree, options):
|
||||
sshd_config = options.get("config", {})
|
||||
resource_disk_format = sshd_config.get("ResourceDisk.Format")
|
||||
resource_disk_enable_swap = sshd_config.get("ResourceDisk.EnableSwap")
|
||||
waagent_config = options.get("config", {})
|
||||
resource_disk_format = waagent_config.get("ResourceDisk.Format")
|
||||
resource_disk_enable_swap = waagent_config.get("ResourceDisk.EnableSwap")
|
||||
changes = {}
|
||||
if resource_disk_format is not None:
|
||||
changes["resourcedisk.format"] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue