We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f44e1be commit e4bbbe0Copy full SHA for e4bbbe0
controller.py
@@ -12,10 +12,11 @@
12
import os.path
13
14
API_URL = 'https://app.vagrantup.com/api/v1/box/archlinux/archlinux'
15
-THIS_MONTH = int(datetime.datetime.now().strftime("%m"))
+NOW = datetime.datetime.now()
16
+THIS_MONTH = int(NOW.strftime("%m"))
17
LEN_RELEASES = 2
18
CWD = '/srv/arch-boxes/arch-boxes'
-ISO_PATH = '/srv/ftp/iso/latest/archlinux-' + datetime.datetime.now().strftime(
19
+ISO_PATH = '/srv/ftp/iso/latest/archlinux-' + NOW.strftime(
20
"%Y.%m") + '.01-x86_64.iso'
21
ISO_CHECKSUM_PATH = '/srv/ftp/iso/latest/sha1sums.txt'
22
PACKER_CMD_TEMPLATE = [
0 commit comments