blob: 60c4db7e53b113e82ca9dbe00e39aca3df253499 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/bin/vbash
source /opt/vyatta/etc/functions/script-template
# Add Debian Jessie repository
set system package repository jessie url 'http://ftp.nl.debian.org/debian/'
set system package repository jessie distribution 'jessie'
set system package repository jessie components 'main contrib non-free'
commit
save
# Install open-vm-tools
sudo apt-get update
sudo apt-get -y install open-vm-tools
# Delete Debian Jessie repository
delete system package repository jessie
commit
save
# Removing leftover leases and persistent rules
sudo rm -f /var/lib/dhcp3/*
# Removing apt caches
sudo rm -rf /var/cache/apt/*
# Removing hw-id
delete interfaces ethernet eth0 hw-id
commit
save
|