Skip to content

Instantly share code, notes, and snippets.

@Puntoboy
Puntoboy / proxmox-lxc-cifs-share.sh
Last active June 22, 2024 18:39 — forked from NorkzYT/proxmox-lxc-cifs-share.sh
Proxmox CIFS Share Mount Wizard Script
#!/bin/bash
# This script is designed to assist in mounting CIFS/SMB shares to a Proxmox LXC container.
# It automates the process of creating a mount point on the Proxmox VE (PVE) host, adding the
# CIFS share to the /etc/fstab for persistent mounts, and configuring the LXC container to
# recognize the share. This script is intended for use on a Proxmox Virtual Environment and
# requires an LXC container to be specified that will access the mounted share.
#
# Prerequisites:
# - Proxmox Virtual Environment setup.