-
Notifications
You must be signed in to change notification settings - Fork 1
/
install_proxmox.sls
36 lines (36 loc) · 1.09 KB
/
install_proxmox.sls
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
30
31
32
33
34
35
36
proxmox-enterprise:
pkgrepo.absent:
- name: deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise
/etc/apt/sources.list.d/pve-enterprise.list:
file.absent:
- name: /etc/apt/sources.list.d/pve-enterprise.list
pkg.del_repo:
module.run:
- repo: "deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise"
#dist_upgrade_start:
# cmd.run:
# - name: apt update && apt dist-upgrade -y
proxmox:
pkgrepo.managed:
- name: deb http://download.proxmox.com/debian/pve buster pve-no-subscription
- file: /etc/apt/sources.list.d/pve-install-repo.list
- dist: buster
- require_in:
- pkg: proxmox-ve
- key_url: http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg
- gpgcheck: 1
pkg.latest:
- name: proxmox-ve
- refresh: True
#dist_upgrade_end:
# cmd.run:
# - name: apt update && apt dist-upgrade -y
del_repo_again:
module.run:
- name: pkg.del_repo
- repo: "deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise"
# proxmox experimental sdn
#proxmox_sdn:
# pkg.installed:
# - pkgs:
# - libpve-network-perl