File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 85
85
@sudo chmod 600 ${BASE_WORKDIR}/${SERVICE}/usr/home/provision/.ssh/authorized_keys
86
86
@sudo chown -R 666:666 ${BASE_WORKDIR}/${SERVICE}/usr/home/provision/.ssh
87
87
.endif
88
- .if !exists(${BASE_WORKDIR}/${SERVICE}/usr/local/etc)
89
- @sudo mkdir ${BASE_WORKDIR}/${SERVICE}/usr/local/etc
90
- .endif
91
88
.if target(post_create)
92
89
@${MAKE} ${MAKEFLAGS} post_create
93
90
.endif
Original file line number Diff line number Diff line change 57
57
POOL=" ${POOL:= zroot} "
58
58
export OS_VERSION_FLAVOR=${OS_VERSION_FLAVOR:= " releases" }
59
59
export OS_VERSION_NAME=${OS_VERSION_NAME:= " RELEASE" }
60
- if [ -z " ${OS_VERSION} " ]; then
60
+ if [ -z " ${OS_VERSION} " -o " ${OS_VERSION} " = " native " ]; then
61
61
OS_VERSION=$( freebsd-version -k | cut -f 1 -d ' -' )
62
62
RAW_VERSION_NAME=$( freebsd-version -k | cut -f 2 -d ' -' )
63
63
if [ " ${RAW_VERSION_NAME} " = " CURRENT" ]; then
64
64
export OS_VERSION_NAME=" CURRENT"
65
65
export OS_VERSION_FLAVOR=" snapshots"
66
66
fi
67
+
67
68
fi
68
69
export DISTRIBUTIONS=" base.txz"
69
70
export BSDINSTALL_DISTSITE=" http://download.freebsd.org/${OS_VERSION_FLAVOR} /amd64/${OS_VERSION} -${OS_VERSION_NAME} "
You can’t perform that action at this time.
0 commit comments