1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Revert "M #: Update Firecracker version (#1051)"

This reverts commit 60f1bf2eb009e7f69a605f565a2bdf45f20bbe0b.
This commit is contained in:
Tino Vazquez 2021-04-05 13:55:38 +02:00
parent ad7d57b9f3
commit 75d15a3ae9
No known key found for this signature in database
GPG Key ID: 14201E424D02047E
2 changed files with 7 additions and 17 deletions

View File

@ -18,20 +18,15 @@
set -e
version="v0.24.2"
temp_dir="/tmp/firecracker-install.temp$(uuidgen)"
mkdir "$temp_dir"
cd "$temp_dir"
version="v0.21.1"
# Download version version of Firecracker
curl -LOJ https://github.com/firecracker-microvm/firecracker/releases/download/${version}/firecracker-${version}-$(uname -m).tgz
tar -xf firecracker-${version}-$(uname -m).tgz
curl -LOJ https://github.com/firecracker-microvm/firecracker/releases/download/${version}/firecracker-${version}-$(uname -m)
mv firecracker-${version}-$(uname -m) /usr/bin/firecracker
chmod +x /usr/bin/firecracker
# Download version version of jailer
curl -LOJ https://github.com/firecracker-microvm/firecracker/releases/download/${version}/jailer-${version}-$(uname -m)
mv jailer-${version}-$(uname -m) /usr/bin/jailer
chmod +x /usr/bin/jailer
rm -rf "$temp_dir"

View File

@ -90,13 +90,8 @@ class FirecrackerVM < OpenNebulaVM
# Set logger info
fc['logger'] = {}
fc['logger']['log_path'] = LOG_FILE
fc['logger']['level'] = 'Debug'
# Set metrics info
fc['metrics'] = {}
fc['metrics']['metrics_path'] = METRICS_FILE
fc['metrics']['level'] = 'Debug'
fc['logger']['log_fifo'] = LOG_FILE
fc['logger']['metrics_fifo'] = METRICS_FILE
boot_source(fc['boot-source'])
drives(fc['drives'])