CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 10:00:16 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=d9058fe9d44249c8bc48a3c5e3e7863c4dc0de2b998e0175dee5c7ff50a22325a%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%22Fu8ZwyBlMzBQDg2ETSB06SHFHXnHQin6%22%3B%7D; HttpOnly; Path=/
cf-ray: 98d5bfcb5e00a9c3-BLR
VSCode KDE Vagrantfile - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Vagrant.configure("2") do |config|
- config.vm.box = "bento/ubuntu-22.04"
- config.vm.provision "shell", inline: <<-SHELL
- # Update system and install Kubuntu desktop
- sudo apt-get update
- sudo apt-get install -y kubuntu-desktop sddm
- # Set GUI as default boot mode
- sudo systemctl set-default graphical.target
- sudo systemctl enable --now sddm
- # Install VirtualBox Guest Additions
- sudo apt-get install -y build-essential dkms linux-headers-$(uname -r)
- sudo apt-get install -y virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11
- # Enable VirtualBox services
- sudo systemctl enable vboxadd.service
- sudo systemctl start vboxadd.service
- # Install VS Code
- wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
- sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/
- echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" | sudo tee /etc/apt/sources.list.d/vscode.list
- sudo apt update
- sudo apt install -y code
- # Enable automatic login to KDE
- echo -e "[Autologin]\nUser=vagrant\nSession=plasma.desktop" | sudo tee /etc/sddm.conf.d/autologin.conf
- # Install Docker CLI inside the VM
- sudo apt-get install -y docker.io
- sudo usermod -aG docker vagrant
- # Ensure the docker socket is correctly owned
- if [ -S /var/run/docker.sock ]; then
- sudo chown root:docker /var/run/docker.sock
- sudo chmod 666 /var/run/docker.sock
- fi
- # Create a systemd service to manually bind the host Docker socket
- cat <<EOF | sudo tee /etc/systemd/system/mount-docker-socket.service
- [Unit]
- Description=Bind-mount host Docker socket into VM
- After=network.target
- Requires=network-online.target
- Wants=network-online.target
- Before=docker.service
- [Service]
- Type=oneshot
- ExecStart=/bin/mount --bind /mnt/docker.sock /var/run/docker.sock
- RemainAfterExit=true
- ExecStop=/bin/umount /var/run/docker.sock
- [Install]
- WantedBy=multi-user.target
- EOF
- # Enable the Docker socket mount service
- sudo systemctl daemon-reload
- sudo systemctl enable --now mount-docker-socket
- SHELL
- # Configure VM resources
- config.vm.provider "virtualbox" do |vb|
- vb.gui = true
- vb.memory = "4096"
- vb.cpus = 2
- vb.customize ["modifyvm", :id, "--vram", "128"]
- vb.customize ["modifyvm", :id, "--accelerate3d", "on"]
- end
- # Shared folder for file exchange between host and VM
- config.vm.synced_folder "/home/umur", "/home/vagrant/host_share",
- owner: "vagrant",
- group: "vagrant",
- mount_options: ["dmode=775,fmode=664"]
- # Conditionally mount the Docker socket if it exists
- if File.exist?("/var/run/docker.sock")
- config.vm.synced_folder "/var/run/docker.sock", "/mnt/docker.sock", type: "virtualbox"
- else
- puts "WARNING: Docker socket not found on host. Skipping mount."
- end
- end
Advertisement
-
⭐✅ Exploit 2500$ in 15 Minutes⭐⭐⭐ C
JavaScript | 3 sec ago | 0.25 KB
-
📌 Swapzone +37% glitch ⭐ Y
JavaScript | 5 sec ago | 0.25 KB
-
⭐⭐⭐Make $15OO in 2O minutesV E⭐⭐
Java | 10 sec ago | 0.10 KB
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ P
JavaScript | 12 sec ago | 0.25 KB
-
✅⭐ Make huge profits on trading ⭐⭐ C
JavaScript | 13 sec ago | 0.25 KB
-
⭐✅ Swapzone Glitch ✅ Working ⭐⭐ A
JavaScript | 22 sec ago | 0.25 KB
-
⭐✅ Marketplace Glitch ✅ Working ✅ NEVER SEEN...
JavaScript | 22 sec ago | 0.25 KB
-
⭐⭐⭐GMAIL Logs (2FA disabled)⭐⭐
Java | 25 sec ago | 0.10 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand