Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Remove the "bootstrap" option from SysUp json config file. Didn't work
Browse files Browse the repository at this point in the history
and we'll not be needing it
  • Loading branch information
kmoore134 committed Jun 24, 2019
1 parent 13eb017 commit ee09bef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ This config file needs to be installed on every local system and provides the in
### Example Config File:
```
{
"bootstrap" : true,
"bootstrapfatal" : false,
"offlineupdatekey" : "/usr/share/keys/sysup-pkg.pub",
"trainsurl" : "https://my.pkg-repo.com/trains-manifest.json",
Expand All @@ -93,7 +92,6 @@ This config file needs to be installed on every local system and provides the in
```

### Config File Details
- "bootstrap" (boolean) : (NOT USED YET) sysup should automatically update itself before doing any other updates
- "bootstrapfatal" (boolean) : (NOT USED YET) If the bootstrap fails, should this fail the entire update.
- "offlineupdatekey" (string) : Path to a public key file to use for offline updates. Alternative to using the "-updatekey" CLI option.
- "trainsurl" (string) : URL for where to fetch the latest manifest of available update trains.
Expand Down
2 changes: 0 additions & 2 deletions defines/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ func LoadConfig() bool {

// Set some defaults for values that may not be in the config file
s := ConfigFile{
Bootstrap: false,
BootstrapFatal: false,
TrainsPubKey: "",
}
Expand All @@ -30,7 +29,6 @@ func LoadConfig() bool {
}

// Set our gloabls now
Bootstrap = s.Bootstrap
BootstrapFatal = s.BootstrapFatal
TrainsUrl = s.TrainsURL

Expand Down

0 comments on commit ee09bef

Please sign in to comment.