Skip to content
Snippets Groups Projects
Commit 6cc0f8d0 authored by David Lynch's avatar David Lynch
Browse files

// WIP

Doing the README and about to start MAC
parent a9275f8e
Branches
No related tags found
No related merge requests found
.vagrant
*.vdi
\ No newline at end of file
......@@ -4,7 +4,7 @@
Vagrant.configure("2") do |config|
config.vm.define "focal", primary: true do |focal|
focal.vm.box = "ubuntu/focal64"
focal.vm.synced_folder ".", "/shared",
focal.vm.synced_folder "./", "/shared",
owner: "vagrant", group: "vagrant"
focal.vm.provider "virtualbox" do |vb|
vb.gui = true
......@@ -16,6 +16,13 @@ Vagrant.configure("2") do |config|
vb.customize ["modifyvm", :id, "--audioin", "on"]
vb.customize ["modifyvm", :id, "--audioout", "on"]
vb.customize ["modifyvm", :id, "--audiocontroller", "hda"]
vb.customize ["modifyvm", :id, "--usb", "on"]
vb.customize ["modifyvm", :id, "--usbehci", "on"]
vb.customize ["usbfilter", "add", "0",
"--target", :id,
"--name", "Altera DE-SoC",
"--vendorid", "09fb",
"--productid", "6010"]
disk_image = File.join(File.dirname(File.expand_path(__FILE__)),
'ubuntu_20_04.vdi')
unless File.exist?(disk_image)
......@@ -69,6 +76,9 @@ Vagrant.configure("2") do |config|
focal.vm.provision "shell",
inline: "sudo apt update && sudo apt -y full-upgrade && sudo apt -y autoremove || :"
focal.vm.provision "shell",
inline: "sudo apt install -y virtualbox-guest-additions-iso virtualbox-guest-x11 || :"
focal.vm.provision "shell",
inline: "cat /root/.profile | grep PATH >> /home/vagrant/.profile || :"
end
......
images/git_clone.PNG

19.6 KiB

images/opening_a_shell.png

60.3 KiB

images/virtualbox.PNG

83.9 KiB

File moved
vagrant up
vagrant reload
\ No newline at end of file
......@@ -60,7 +60,7 @@ echo "Installing Quartus, this may take some time..."
echo "Cleaning up"
rm -r /workspace/components
if [ -f "/workspace${tar_file}" ]
if [ -f "/workspace/${tar_file}" ]
then
echo "Removing Tar file"
rm /workspace/$tar_file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment