Skip to content

Commit

Permalink
upgrade to 12.2
Browse files Browse the repository at this point in the history
fix #4
  • Loading branch information
Neilpang committed Nov 19, 2020
1 parent b019d2c commit fa2d348
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,16 @@ async function setup(nat) {

let workingDir = __dirname;

let imgName = "FreeBSD-12.1-RELEASE-amd64";
let imgName = "FreeBSD-12.2-RELEASE-amd64";


let url = "https://github.com/vmactions/freebsd-builder/releases/download/v0.0.7/freebsd-12.1.7z";
let url = "https://github.com/vmactions/freebsd-builder/releases/download/v0.0.8/freebsd-12.2.7z";

core.info("Downloading image: " + url);
let img = await tc.downloadTool(url);
core.info("Downloaded file: " + img);

let s7z = workingDir + "/freebsd-12.1.7z";
let s7z = workingDir + "/freebsd-12.2.7z";
await io.mv(img, s7z);
await exec.exec("7z e " + s7z + " -o" + workingDir);

Expand All @@ -109,7 +109,7 @@ async function setup(nat) {
await exec.exec("chmod 700 " + sshHome);


let ova = "freebsd-12.1.ova";
let ova = "freebsd-12.2.ova";
await vboxmanage("", "import", path.join(workingDir, ova));


Expand Down

0 comments on commit fa2d348

Please sign in to comment.