Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
commit, debug=False, kernel_commit=DEFAULT_KERNEL_COMMIT, wait_for_completion=True
):
nfsrootfs = "https://obj.internal.efficios.com/lava/rootfs/rootfs_amd64_xenial_2018-12-05.tar.gz"
commit, debug=False, kernel_commit=DEFAULT_KERNEL_COMMIT, wait_for_completion=True
):
nfsrootfs = "https://obj.internal.efficios.com/lava/rootfs/rootfs_amd64_xenial_2018-12-05.tar.gz"
+ nfsrootfs_sha256 = "0df15933ed18eb73ed5f0e7b1eca8d032ee88d92e5dbfc0f56dcc68c821048a8"
kernel_url = "https://obj.internal.efficios.com/lava/kernel/{}.baremetal.bzImage".format(
kernel_commit
)
kernel_url = "https://obj.internal.efficios.com/lava/kernel/{}.baremetal.bzImage".format(
kernel_commit
)
+ kernel_sha256 = "0da55bad8c780a889ae71e7aa0f4788bc671c598c21369ad4211555088e3d889"
modules_url = "https://obj.internal.efficios.com/lava/modules/linux/{}.baremetal.linux.modules.tar.gz".format(
kernel_commit
)
modules_url = "https://obj.internal.efficios.com/lava/modules/linux/{}.baremetal.linux.modules.tar.gz".format(
kernel_commit
)
context = dict()
context["kernel_url"] = kernel_url
context = dict()
context["kernel_url"] = kernel_url
+ context["kernel_sha256"] = kernel_sha256
context["nfsrootfs_url"] = nfsrootfs
context["nfsrootfs_url"] = nfsrootfs
+ context["nfsrootfs_sha256"] = nfsrootfs_sha256
context["commit_hash"] = commit
render = jinja_template.render(context)
context["commit_hash"] = commit
render = jinja_template.render(context)
to: tftp
kernel:
url: {{ kernel_url }}
to: tftp
kernel:
url: {{ kernel_url }}
+ sha256sum: {{ kernel_sha256}}
type: zimage
nfsrootfs:
url: {{ nfsrootfs_url }}
type: zimage
nfsrootfs:
url: {{ nfsrootfs_url }}
+ sha256sum: {{ nfsroot_sha256}}