die "command '$cmd' expects no arguments.\n" if scalar (@ARGV) != 0;
- print $dab->vz_priv_dir() . "\n";
+ print $dab->{rootfs} . "\n";
} elsif ($cmd eq 'packagefile') {
=head1 NAME
-dab - Debian OpenVZ Appliance Builder
+dab - Debian LXC Appliance Builder
=head1 SYNOPSIS
=item B<dab enter>
-Calls C<vzctl enter CTID> - this is for debugging only.
+Calls C<lxc-attach> - this is for debugging only.
=item B<dab task mysql>
=item B<dab clean>
-Remove all temporary file and destroy the used OpenVZ container.
+Remove all temporary files and destroy the container.
=item B<dab dist-clean>
=back
-=back
-
=head1 DESCRIPTION
-dab is a script to automate the creation of OpenVZ appliances. It is
-basically a rewrite of debootstrap in perl, but uses OpenVZ instead of
-chroot and generates OpenVZ templates. Another difference is that it
+dab is a script to automate the creation of LXC appliances. It is
+basically a rewrite of debootstrap in perl, but uses LXC instead of
+chroot and generates LXC templates. Another difference is that it
supports multi-stage building of templates. That way you can execute
arbitrary scripts between to accomplish what you want.
See http://pve.proxmox.com/wiki/Debian_Appliance_Builder for examples.
This script need to be run as root, so it is not recommended to start
-it on a production machine with running container. Proxmox VE
-(http://pve.proxmox.com) is the preferred environment, because it is
-able to log the console output when a container starts. You wont be
-able to detect errors during container startup when running on
-standard OpenVZ. So many people run Proxmox VE inside a KVM or VMWare
-64bit virtual machine to build appliances.
+it on a production machine with running containers. So many people run
+Proxmox VE inside a KVM or VMWare 64bit virtual machine to build
+appliances.
All generated templates includes an appliance description file. Those
can be used to build appliance repositories.
=over 2
-=item B<Suite:> I<etch|lenny|squeeze|hardy|intrepid|jaunty>
+=item B<Suite:> I<squeeze|wheezy|jessie|trusty|vivid>
The Debian or Ubuntu suite.
=item B<Type:> I<type>
-This is always C<openvz>.
+This is always C<lxc>.
=item B<OS:> I<[debian-4.0|debian-5.0|ubuntu-8.0]>
=head1 COPYRIGHT AND DISCLAIMER
-Copyright (C) 2007-2009 Proxmox Server Solutions GmbH
+Copyright (C) 2007-2012 Proxmox Server Solutions GmbH
Copyright: dab is under GNU GPL, the GNU General Public License.