Skip to content

Commit

Permalink
lorax-composer: Add squashfs_only False to all image types
Browse files Browse the repository at this point in the history
New livemedia-creator flag needs to be set to the default.
  • Loading branch information
bcl committed Jul 29, 2019
1 parent c46f9f0 commit f4a81d6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/pylorax/api/compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,7 @@ def compose_args(compose_type):
"app_name": None,
"app_template": None,
"app_file": None,
"squashfs_only": False,
},
"live-iso": {"make_iso": True,
"make_disk": False,
Expand Down Expand Up @@ -925,6 +926,7 @@ def compose_args(compose_type):
"app_file": None,
"iso_only": True,
"iso_name": "live.iso",
"squashfs_only": False,
},
"partitioned-disk": {"make_iso": False,
"make_disk": True,
Expand All @@ -950,6 +952,7 @@ def compose_args(compose_type):
"app_name": None,
"app_template": None,
"app_file": None,
"squashfs_only": False,
},
"qcow2": {"make_iso": False,
"make_disk": True,
Expand All @@ -975,6 +978,7 @@ def compose_args(compose_type):
"app_name": None,
"app_template": None,
"app_file": None,
"squashfs_only": False,
},
"ext4-filesystem": {"make_iso": False,
"make_disk": False,
Expand All @@ -1000,6 +1004,7 @@ def compose_args(compose_type):
"app_name": None,
"app_template": None,
"app_file": None,
"squashfs_only": False,
},
"ami": {"make_iso": False,
"make_disk": True,
Expand All @@ -1025,6 +1030,7 @@ def compose_args(compose_type):
"app_name": None,
"app_template": None,
"app_file": None,
"squashfs_only": False,
},
"vhd": {"make_iso": False,
"make_disk": True,
Expand All @@ -1050,6 +1056,7 @@ def compose_args(compose_type):
"app_name": None,
"app_template": None,
"app_file": None,
"squashfs_only": False,
},
"vmdk": {"make_iso": False,
"make_disk": True,
Expand All @@ -1075,6 +1082,7 @@ def compose_args(compose_type):
"app_name": None,
"app_template": None,
"app_file": None,
"squashfs_only": False,
},
"openstack": {"make_iso": False,
"make_disk": True,
Expand All @@ -1100,6 +1108,7 @@ def compose_args(compose_type):
"app_name": None,
"app_template": None,
"app_file": None,
"squashfs_only": False,
},
"google": {"make_iso": False,
"make_disk": True,
Expand Down Expand Up @@ -1127,6 +1136,7 @@ def compose_args(compose_type):
"app_name": None,
"app_template": None,
"app_file": None,
"squashfs_only": False,
},
"hyper-v": {"make_iso": False,
"make_disk": True,
Expand All @@ -1152,6 +1162,7 @@ def compose_args(compose_type):
"app_name": None,
"app_template": None,
"app_file": None,
"squashfs_only": False,
},
"alibaba": {"make_iso": False,
"make_disk": True,
Expand All @@ -1177,6 +1188,7 @@ def compose_args(compose_type):
"app_name": None,
"app_template": None,
"app_file": None,
"squashfs_only": False,
},
}
return _MAP[compose_type]
Expand Down

0 comments on commit f4a81d6

Please sign in to comment.