• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. THS
    T
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 3
    • Best 1
    • Controversial 0
    • Groups 0

    THS

    @THS

    1
    Reputation
    350
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    THS Unfollow Follow

    Best posts made by THS

    • FOG rkt container

      Hello,
      I’ve created a build script for FOG with rkt. It’s based on the latest RC 1.3.5.
      The default configuration uses ProxyDHCP.

      Github: https://github.com/THS-on/rkt-fog

      To run and build this container you need:

      • acbuild
      • Debootstrap
      • sudo
      • git
      • rkt

      First you need to load the NFS kernel modules with:

      sudo modprobe nfs && sudo modprobe nfsd
      

      Then clone the rkt-fog repository and go to the directory:

      git clone https://github.com/THS-on/rkt-fog.git && cd rkt-fog
      

      Change 192.0.2.1 in files/.fogsettings and files/dnsmasq.con to your FOG IP.
      Change 192.0.2.2 in files/.fogsettings to your routeraddress.

      Build the container with:

      make build
      

      Final steps

      Run container (creates directories for mysql and images, loads kernel modules):

      make run
      

      Now you can access fog.

      • Web interface: http://YOUR_IP/fog
      • User: fog
      • Password: password
      • Password for ftp: secret

      Not all files are persistent yet!
      Please help testing and maybe somebody can also port this to a Dockerfile.

      Edit1: Added persistent mysql support and simplified startup
      Edit2: Upgraded to 1.3.5

      posted in Tutorials
      T
      THS

    Latest posts made by THS

    • RE: FOG rkt container

      @Wayne-Workman Added support for persistent MySQL.

      My infrastructure is completely based on containers, so it was a nice challenge to integrate FOG as container. At this point its not really a container because no capabilities are dropped and the host network is used.

      Normally I would split FOG in multiple containers (MySQL, dnsmasq, tftpboot etc.), but because it’s an also an appliance for me i build a “all-in-one” container.

      posted in Tutorials
      T
      THS
    • RE: FOG rkt container

      I think it’s helpful but not implemented/tested yet.
      What directories should also be saved?

      posted in Tutorials
      T
      THS
    • FOG rkt container

      Hello,
      I’ve created a build script for FOG with rkt. It’s based on the latest RC 1.3.5.
      The default configuration uses ProxyDHCP.

      Github: https://github.com/THS-on/rkt-fog

      To run and build this container you need:

      • acbuild
      • Debootstrap
      • sudo
      • git
      • rkt

      First you need to load the NFS kernel modules with:

      sudo modprobe nfs && sudo modprobe nfsd
      

      Then clone the rkt-fog repository and go to the directory:

      git clone https://github.com/THS-on/rkt-fog.git && cd rkt-fog
      

      Change 192.0.2.1 in files/.fogsettings and files/dnsmasq.con to your FOG IP.
      Change 192.0.2.2 in files/.fogsettings to your routeraddress.

      Build the container with:

      make build
      

      Final steps

      Run container (creates directories for mysql and images, loads kernel modules):

      make run
      

      Now you can access fog.

      • Web interface: http://YOUR_IP/fog
      • User: fog
      • Password: password
      • Password for ftp: secret

      Not all files are persistent yet!
      Please help testing and maybe somebody can also port this to a Dockerfile.

      Edit1: Added persistent mysql support and simplified startup
      Edit2: Upgraded to 1.3.5

      posted in Tutorials
      T
      THS