-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automate blobfuse2 setup for new VM #1575
base: blobfuse/2.4.1
Are you sure you want to change the base?
Conversation
setup.sh
Outdated
./go_installer.sh ../ | ||
echo "Installed go" | ||
go version | ||
sudo apt update -y |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this script cannot be used by the distros which are not ubuntu
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes we mostly use ubuntu Vm other than that very rarely we may use rhel to recreate issues. Can add script for rhel as well if its useful!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mentioned its for ubuntu machines only via a comment
!/bin/bash | ||
|
||
Run the go_installer script with the parent directory as an argument | ||
./go_installer.sh ../ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can move this script to the setup
directory
sudo apt install libfuse3-dev -y | ||
echo "Installed all dependencies" -y | ||
|
||
# Open the file /etc/fuse.conf and uncomment the line user_allow_other |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also add how to install Blobfuse2 which includes configuring the apt repository.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes we shall also add step here to enlist microsoft linux repo for ubuntu and may be install blobfuse2 latest version as part of this as well. This will help you setup syslog filters so that logs can be directed to syslog in a separate file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, if we can add steps to install secpack that would be great.
β What
Created a script automating blobfuse2 setup required in a fresh VM.
π€ Why
Helps save time settign up blobfuse2 on a new VM especially while perf testing on multiple VMs
π©βπ¬ How to validate if applicable
run the script setup.sh