Automate/Unattended ProxMox Setup

Imad Daou

Renowned Member
Nov 29, 2014
24
3
68
47
California, United States
imaddaou.com
Dear community,

I am not using the ISO to setup proxmox, I setup Debian the way I like, then I install proxmox on top of it.

I built a simple script to install basic utilities, programs, configure the system, and then install proxmox, however, during the proxmox setup, samba get installed as well and pops up questions about keeping or overriding the configuration, I had to be there to press Enter.

Is there away to run the proxmox setup on newly Debian setup without answering any question, another word automate/Unattended way?

I forgot to screenshot to show you the question am talking about, however, I was able to grab a copy from the internet, it's in Spanish but you will know what am talking about.

I wish we can add unattended setup information to this page https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Buster

I stumbled on this page, which is slightly different of what am trying to accomplish, but is still valid for current proxmox?
https://pve.proxmox.com/wiki/Unattended_installation_of_Proxmox

Your time is highly appreciated; I look forward for your generous help at your earliest convenience.

Imad
 

Attachments

  • install_samba-1024x234.png
    install_samba-1024x234.png
    60.1 KB · Views: 19
Last edited:
that prompt is a debconf question. you can either preseed the answer (with debconf-set-selections), reduce the priority for which questions are asked (dpkg-reconfigure debconf) or make a single apt command always use the default value (set DEBIAN_FRONTEND=noninteractive).
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!