File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -529,6 +529,10 @@ fedora-install-containerd-pre() {
529529 fedora-install-containernetworking-plugins
530530}
531531
532+ fedora-install-containerd-post () {
533+ vm-command " systemctl enable containerd"
534+ }
535+
532536fedora-install-k8s () {
533537 local repo=" /etc/yum.repos.d/kubernetes.repo"
534538 local base=" https://packages.cloud.google.com/yum/repos/kubernetes-el7-\$ basearch"
601605EOF
602606}
603607
608+ fedora-set-kernel-cmdline () {
609+ local e2e_defaults=" $* "
610+ vm-command " mkdir -p /etc/default; touch /etc/default/grub; sed -i '/e2e:fedora-set-kernel-cmdline/d' /etc/default/grub"
611+ vm-command " echo 'GRUB_CMDLINE_LINUX_DEFAULT=\"\$ {GRUB_CMDLINE_LINUX_DEFAULT} ${e2e_defaults} \" # by e2e:fedora-set-kernel-cmdline' >> /etc/default/grub" || {
612+ command-error " writing new command line parameters failed"
613+ }
614+ vm-command " grub2-mkconfig -o /boot/grub2/grub.cfg" || {
615+ command-error " updating grub failed"
616+ }
617+ }
618+
604619fedora-33-install-crio-pre () {
605620 fedora-install-crio-version 1.20
606621}
You can’t perform that action at this time.
0 commit comments