diff --git a/README.md b/README.md index b38e8074..f2f268f3 100644 --- a/README.md +++ b/README.md @@ -146,27 +146,27 @@ For other platforms, please use the [Vagrantfile](#setting-up-vagrant) that we h ### Debian, Ubuntu and related distributions ```console -$ sudo apt-get install \ - pkg-config \ - libsystemd-dev \ - libdbus-glib-1-dev \ - build-essential \ - libelf-dev \ - libseccomp-dev \ - libclang-dev \ - libssl-devel +$ sudo apt-get install \ + pkg-config \ + libsystemd-dev \ + libdbus-glib-1-dev \ + build-essential \ + libelf-dev \ + libseccomp-dev \ + libclang-dev \ + libssl-dev ``` -### Fedora, Centos, RHEL and related distributions +### Fedora, CentOS, RHEL and related distributions ```console -$ sudo dnf install \ - pkg-config \ - systemd-devel \ - dbus-devel \ +$ sudo dnf install \ + pkg-config \ + systemd-devel \ + dbus-devel \ elfutils-libelf-devel \ - libseccomp-devel \ - clang-devel \ + libseccomp-devel \ + clang-devel \ openssl-devel ``` diff --git a/Vagrantfile.root b/Vagrantfile.root index e44047f9..0598bdc8 100644 --- a/Vagrantfile.root +++ b/Vagrantfile.root @@ -14,7 +14,7 @@ Vagrant.configure("2") do |config| config.vm.provision "shell", inline: <<-SHELL set -e -u -o pipefail yum update -y - yum install -y git gcc docker systemd-devel dbus-devel libseccomp-devel + yum install -y git gcc docker systemd-devel dbus-devel libseccomp-devel wget openssl-devel grubby --update-kernel=ALL --args="systemd.unified_cgroup_hierarchy=0" service docker start curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y @@ -23,4 +23,3 @@ Vagrant.configure("2") do |config| config.ssh.username = 'root' config.ssh.insert_key = 'true' end - diff --git a/docs/src/user/basic_setup.md b/docs/src/user/basic_setup.md index 3f3f9d73..5860da84 100644 --- a/docs/src/user/basic_setup.md +++ b/docs/src/user/basic_setup.md @@ -17,26 +17,28 @@ To compile and run, Youki itself depends on some underlying libraries being inst #### Debian, Ubuntu and related distributions ```console -$ sudo apt-get install \ - pkg-config \ - libsystemd-dev \ - libdbus-glib-1-dev \ - build-essential \ - libelf-dev \ - libseccomp-dev \ - libclang-dev +$ sudo apt-get install \ + pkg-config \ + libsystemd-dev \ + libdbus-glib-1-dev \ + build-essential \ + libelf-dev \ + libseccomp-dev \ + libclang-dev \ + libssl-dev ``` -#### Fedora, Centos, RHEL and related distributions +#### Fedora, CentOS, RHEL and related distributions ```console -$ sudo dnf install \ - pkg-config \ - systemd-devel \ - dbus-devel \ +$ sudo dnf install \ + pkg-config \ + systemd-devel \ + dbus-devel \ elfutils-libelf-devel \ - libseccomp-devel \ - clang-devel + libseccomp-devel \ + clang-devel \ + openssl-devel ``` ---