|
|
@ -53,11 +53,10 @@ def create_conf(uuid, conf_path):
|
|
|
|
kernel = libcalamares.job.configuration["kernel"]
|
|
|
|
kernel = libcalamares.job.configuration["kernel"]
|
|
|
|
img = libcalamares.job.configuration["img"]
|
|
|
|
img = libcalamares.job.configuration["img"]
|
|
|
|
partitions = libcalamares.globalstorage.value("partitions")
|
|
|
|
partitions = libcalamares.globalstorage.value("partitions")
|
|
|
|
|
|
|
|
swap = ""
|
|
|
|
for partition in partitions:
|
|
|
|
for partition in partitions:
|
|
|
|
if partition["fs"] == "linuxswap":
|
|
|
|
if partition["fs"] == "linuxswap":
|
|
|
|
swap = partition["uuid"]
|
|
|
|
swap = partition["uuid"]
|
|
|
|
else:
|
|
|
|
|
|
|
|
swap = ""
|
|
|
|
|
|
|
|
lines = [
|
|
|
|
lines = [
|
|
|
|
'## This is just an exmaple config file.\n',
|
|
|
|
'## This is just an exmaple config file.\n',
|
|
|
|
'## Please edit the paths and kernel parameters according to your system.\n',
|
|
|
|
'## Please edit the paths and kernel parameters according to your system.\n',
|
|
|
|