Search results

  1. A

    Get VMID from inside LXC Guest

    Getting the VMID inside a Debian Guest: In a Debian OpenVZ container we could use: VMID=`awk '{print $1}' /proc/vz/veinfo` What is the equivalent for a Debian LXC container?
  2. A

    PVE 6.4-15 has updates from upstream debian still

    The following packages will be upgraded: libhttp-daemon-perl libsndfile1 linux-libc-dev tzdata Pleasantly surprised today that an EOL distribution like PVE 6.4 is still getting debian upstream updates on apt-get update && apt-get dist-upgrade still.
  3. A

    Images and ISOs links - Oracle Linux Server on KVM / PVE-6.4 fails yum update

    I am trying to replicate an existing physical instance (KVM) that is in Enterprise OL 5u8 and that has GUI as well. LXC is the nearest light weight one for shared kernel hosting and Docker in PVE is another layer I do not want. I too never install any GUI for Server OSes normally.
  4. A

    Windows Server 2022

    Check your config file - /etc/pve/nodes/<NODE>/qemu-server/<VMID>.conf and suitably correct the path to be relative like the one I showed. Then make sure the storage path to your QEMU Disk Images in the PVE GUI matches the physical location that I have alluded to by moving your qcow2 file is...
  5. A

    Windows Server 2022

    The actual path of the config file is: /etc/pve/nodes/<NODE>/qemu-server/101.conf and the qcow2 file is in: /var/lib/vz/images/150/vm-150-disk-0.qcow2
  6. A

    Windows Server 2022

    Then it should be a relative path and not such an absolute one you have. In one windows machine that has a qcow2 file for the virtual hdd, I have: bootdisk: ide0 cores: 1 cpu: kvm32 ide0: local:150/vm-150-disk-0.qcow2,size=32G ide2: none,media=cdrom memory: 1024 name: WinXPN01 net0...
  7. A

    Windows Server 2022

    Check if the file: /media/hdd/images/100/vm-100-disk-0.qcow2 exists Which version of Proxmox are you using? If you migrated your VM from VMWare or VirtualBox or afrom any other virtualisation platform, the paths may be different.
  8. A

    Images and ISOs links - Oracle Linux Server on KVM / PVE-6.4 fails yum update

    Sometimes we need to resurrect an old VM to help simulate a live physical setup to migrate data and functionality and hence this attempt. If any user has a template for LXC that has Oracle 11.2.0.4 installed in it with Apache Tomcat and webapps running it would be useful as most Oracle Linux...
  9. A

    Images and ISOs links - Oracle Linux Server on KVM / PVE-6.4 fails yum update

    Linux Cheat Sheet - PDF 1 page, 128 KB Linux history Command - HOWTO | Cache - 7 pages, 901KB, Oracle sqlplus SET commands | sqlplus notes | Oracle Enterprise ISOs | Oracle Unofficial Mirrors Linux Virtualisation Images Just tested out Oracle Linux Server 64 bit v5.11 and inspite of changing...
  10. A

    Is there a similar tool like OpenVZ's pvebash for LXC to enter non booting containers?

    I can confirm that these latest constructs do not work in PVE 3.4 DAB and ends in the following error: dab exec sh -c 'ln -s /usr/share/fonts/truetype/ttf-dejavu/*.ttf /var/www/frontac/reporting/fonts/.' ln: missing file operand Try `ln --help' for more information. ve_exec failed - status 1...
  11. A

    [SOLVED] DAB (dab.conf) examples for building container images for Alpine Linux with packages

    As there are many users who still use PVE-6.4 since it has just become EOL, I would like such users to test out the appropriate DAB.pm and notify any errors in building the affected templates. If the DAB forum was not locked or a new DAB for LXC forum was opened my posts in this thread would...
  12. A

    Mount local iso to install PVE 7.x

    Actually, the said server was tested to install PVE 7.2 iso. As the server was over 3 years old since manufacture, the XCC certificate had expired and the certificates were manually installed at the client side and the screenshot method was used to install from http. This post was made to assist...
  13. A

    Mount local iso to install PVE 7.x

    Lenovo SR650 - PVE 7.x install from XClarity Controller as local ISO
  14. A

    Is there a similar tool like OpenVZ's pvebash for LXC to enter non booting containers?

    Thanks for the shell solution. Those worked well in PVE 3.4 - what else has changed? The workaround in the DAB Makefile I had used was: cp -r ${BASEDIR}/usr/share/fonts/truetype/freefont/ ${BASEDIR}/var/www/frontac/reporting/fonts/ cp -r...
  15. A

    [SOLVED] DAB (dab.conf) examples for building container images for Alpine Linux with packages

    The PVE-6.4-15 has DAB v3.2.1 whilst PVE 7.2 sports DAB v3.4.1 but some important changes have been pushed into the DAB repo since then too. In order to compile templates for older distributions and since the default repos in the archive have their URLs changed, the attached DAB.pm (rename the...
  16. A

    New install of PVE 7.2-1 issues

    A loose contact in the SATA cable showed up as ATA errors now stands fixed. Thanks.
  17. A

    Is there a similar tool like OpenVZ's pvebash for LXC to enter non booting containers?

    Dropping to a shell can be done only if the LXC is running. No way to enter a stopped / non bootable LXC container unlike in an OpenVZ container using pvebash (uid and gid are preserved). Thanks for the prompt change in DAB.pm and hopefully the said commit does not need any change in...
  18. A

    Is there a similar tool like OpenVZ's pvebash for LXC to enter non booting containers?

    There are many Proxmox users who still use v3.4. Many valid articles for such versions categorised as such have now been removed presumably to avoid confusion. This article is to help with non booting containers especially ones that have been migrated from OpenVZ to LXC. Inadvertant updation of...
  19. A

    Mounting LXC raw images

    One thread stated that LXC containers do not have a mounted state. Here is how we can mount a stopped LXC container (CTID = 102 here): # pct mount 102 mounted CT 102 in '/var/lib/lxc/102/rootfs' # ls -al /var/lib/lxc/102/rootfs total 96 drwxr-xr-x 21 100000 100000 4096 Sep 19 23:14 ...