mirror of
https://github.com/kakwa/ldapcherry
synced 2025-07-04 04:17:43 +02:00
trying to cleanup travis build env
This commit is contained in:
parent
b8a65a44b6
commit
f7bbff4cec
2 changed files with 9 additions and 27 deletions
|
@ -6,20 +6,6 @@ then
|
|||
DEBIAN_FRONTEND=noninteractive apt-get install kpartx -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -f -q -y
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install lsb-base libattr1 -t wheezy -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -f -q -y
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install samba python-samba samba-vfs-modules -t wheezy-backports -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -f -q -y
|
||||
truncate -s 512M file.img
|
||||
fdisk file.img <<EOF
|
||||
n
|
||||
p
|
||||
1
|
||||
|
||||
|
||||
|
||||
w
|
||||
q
|
||||
EOF
|
||||
kpartx -a file.img
|
||||
mkfs.ext4 /dev/mapper/loop0p1
|
||||
mount /dev/mapper/loop0p1 /var/lib/samba/
|
||||
else
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install ldap-utils slapd samba python-samba samba-vfs-modules -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -f -q -y
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue