File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/sh
22
33#
4- # Follow those steps to install and start crc in Ubuntu 20 .04:
4+ # Follow those steps to install and start crc in Ubuntu 22 .04:
55#
6- # sudo wget https://developers.redhat.com/content-gateway/file/pub/openshift-v4/clients/crc/2.29 .0/crc-linux-amd64.tar.xz -O - | sudo tar xf --strip-components=1 -C /usr/local/bin/ -f - crc
6+ # sudo wget https://developers.redhat.com/content-gateway/file/pub/openshift-v4/clients/crc/2.51 .0/crc-linux-amd64.tar.xz -O - | sudo tar xf --strip-components=1 -C /usr/local/bin/ -f - crc
77# sudo chmod a+x /usr/local/bin/crc
88# sudo apt install qemu-kvm libvirt-daemon libvirt-daemon-system network-manager
9+ # # apply patch for apparmor configuration for libvirt from https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1962035/comments/2
10+ # echo '/usr/share/OVMF/** rk,' | sudo tee -a /etc/apparmor.d/abstractions/libvirt-qemu
11+ # echo '/**/nvram/*_VARS.fd rwk,' | sudo tee -a /etc/apparmor.d/abstractions/libvirt-qemu
12+ # sudo systemctl reload apparmor.service
13+ # sudo systemctl restart libvirtd
914# crc config set skip-check-daemon-systemd-unit true
1015# crc config set skip-check-daemon-systemd-sockets true
1116# crc config set network-mode user
1217# crc config set host-network-access true
1318# crc config set nameserver 8.8.8.8
19+ # crc config set enable-cluster-monitoring true
1420# crc setup
1521# mkdir -p "$HOME/.crc"
1622#
You can’t perform that action at this time.
0 commit comments