networking not starting with pbs installed in lxc

KeyzerSuze

New Member
Aug 16, 2024
6
0
1
Hi
I have a debian 12 server which lxc installed and I created a debian 12 lxc
I installed PBS into the lxc

before I installed PBS eth0 was setup for dhcp and it worked lxc -> bridge -> phy eth
when i installed PBS DHCP wasn't being called

when i tried ifup eth0 it fails saying instance already running
when i try systemctrl restart networking it fails

I can add a static address to the interface and also then the default routing

I did notice the ifupdown was still rc so i purged it just incase but still its not working

I'm stuck now not sure what to do next to diagnose - currently on lxc start I attach and add ip address
 
I've never built a PBS like you are. You started with Debian, and then installed the PBS bits. I always use the PBS ISO.

I don't use the LCX feature much, so let me ask a dumb question.
Could you start with a blank LCX with static IP, and then just install the PBS disk on top of that?
Installing from the ISO would be a lot closer to what everyone else is doing, possibly better chance of getting help.
It's just a thought. Nothing wrong with your route.

...

Or here's a very different way to accomplish your task.
Do you know about tteck? This guy builds scripts to deploy toys on proxmox.
Ya know, carefully evaluate what you see there, but this guy and his code are broadly respected. Check it out.

Here's his auto-builder for PBS.
https://community-scripts.github.io/ProxmoxVE/scripts?id=proxmox-backup-server
 
Last edited: