chore(ci): entitlement folder should be created before copying

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2024-09-06 14:24:15 +02:00
parent b5ac09de34
commit 99d2ad8e1a
+1
View File
@@ -450,6 +450,7 @@ class Containerize():
cmd.cd(lSourcePath)
# if asterix, copy the entitlement and subscription manager configurations
if self.host == 'Red Hat':
cmd.run('mkdir -p ./etc-pki-entitlement')
cmd.run('cp /etc/pki/entitlement/*.pem ./etc-pki-entitlement/')
baseImage = 'ran-base'