File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,7 @@ if [ "$TMT_REBOOT_COUNT" -eq 0 ]; then
27
27
;;
28
28
esac
29
29
30
- ls -al /root/.ssh
31
- cat /root/.ssh/authorized_keys
32
- cp -r /root/.ssh " $TEMPDIR "
30
+ cp -r /var/tmp/tmt " $TEMPDIR "
33
31
34
32
if [[ " $VERSION_ID " == " 43" ]]; then
35
33
BOOTC_COPR_REPO_DISTRO=" fedora-rawhide-${ARCH} "
@@ -54,12 +52,14 @@ repo_gpgcheck=0
54
52
EOF
55
53
56
54
dnf -y update bootc
55
+ # cloud-init and rsync are required by TMT
57
56
dnf -y install cloud-init rsync
58
57
ln -s ../cloud-init.target /usr/lib/systemd/system/default.target.wants
59
58
dnf -y clean all
60
59
rm -rf /var/cache /var/lib/dnf
61
60
EORUN
62
- COPY .ssh /var/roothome/.ssh
61
+ # Keep package mode /var/tmp/tmt folder in place after replace to image mode
62
+ COPY tmt /var/tmp/tmt
63
63
REALEOF
64
64
65
65
cat " $CONTAINERFILE "
You can’t perform that action at this time.
0 commit comments