Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
L
lxc
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • lxc
  • Repository

Switch branch/tag
  • lxc
  • templates
  • lxc-alpine.in
Find file
BlameHistoryPermalink
  • Rune Juhl Jacobsen's avatar
    Change file check to also check file size (`-f` => `-s`) · 7af6a121
    Rune Juhl Jacobsen authored Sep 18, 2017
    Because the `fetch` wget wrapper outputs files to stdout we may end up in a
    situation where wget fails but the files are still created. This can happen
    e.g. when the host date is out of sync leading to a failed certificate
    check, resulting in the creation of empty key files.
    
    Once the empty files have been created the template will try to use them which
    causes the certificate check to fail.
    
    By using `-s` instead of `-f` the template will re-fetch the files unless they
    exist AND have a size greater than zero.
    Signed-off-by: 's avatarRune Juhl Jacobsen <runejuhl@petardo.dk>
    7af6a121
lxc-alpine.in 13.1 KB
EditWeb IDE
×

Replace lxc-alpine.in

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.