• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. zfeng
    3. Posts
    Z
    • Profile
    • Following 0
    • Followers 0
    • Topics 10
    • Posts 50
    • Best 3
    • Controversial 0
    • Groups 0

    Posts made by zfeng

    • RE: Removal of Fog user in Fog Project

      @george1421 thanks for your quick response. I believe that all users we create through the web UI are admin users. I come into a very odd situation.

      1. I created image 1 and captured the info through computer A with the default fog user. This image 1 works perfectly fine when I deploy to computer B and C
      2. I then created a new user, called test, without the API enabled, and removed the default user fog through the UI (default user had UI enabled). Since the image 1 is created through the fog user, everything still works fine with deployment
      3. Now we don’t have the default user fog, I use the user test to create image 2 and capture info through computer D. I then deploy this image 2 to computer B, everything looks fine. When I deploy the image 2 to computer C, the problem occurs. The problem happens when it tries to expand the /dev/sda2, right after the cloning process is done with the message “cloning successfully” is printed out.

      Computers A,B, and D are actually the same type. Computer C is a newer version of them but should be the same.

      To prove that fog user is important, I build another fog project and keep the fog user when creating new image. I use computer A to get the image and deploy to computer C. Everything works perfectly.

      like what I said, this is just something odd. For now I will keep the fog user when creating images

      posted in General
      Z
      zfeng
    • Removal of Fog user in Fog Project

      Hi guys, what happens if I remove the default fog user in the fog dashboard? does it create some kind of issue? Of course, I need to create other users first to log in.

      posted in General
      Z
      zfeng
    • RE: Fog Creates a System User

      That is all I need to know. Thank you all

      posted in General
      Z
      zfeng
    • Fog Creates a System User

      The installation of fog project creates a new user on the ubuntu system? I don’t remember the name of that user either “fogserver” or “fogproject” as the username. What do we use that for and how should we access through this user? thanks

      posted in General
      Z
      zfeng
    • RE: Host Fog Over the Internet

      @wayne-workman thanks for your info

      posted in General
      Z
      zfeng
    • RE: Host Fog Over the Internet

      Thanks for your reply. I try to set up a fog server on the Network that be accessed from the outside. So that is why I want to see what default port fog uses so I can block that port from any outside access to fog server

      posted in General
      Z
      zfeng
    • Host Fog Over the Internet

      Hi guys, just want to know how you guys host Fog server over the Internet. How do you guys block the IP addresses to access the fog server with the port, also what port that the Fog server uses by default? I want to make sure that I can securely set up the fog server to connect to the Internet. thx

      posted in General
      Z
      zfeng
    • RE: Devops with Fog

      Thanks. I will dig more into that API doc

      posted in Feature Request
      Z
      zfeng
    • RE: Devops with Fog

      Hi Quazz, any example for that? Merge a branch into master in git repo and automatically build the image

      posted in Feature Request
      Z
      zfeng
    • Devops with Fog

      Hi guys, I love the Fog Project. It saves tremendous amount of my time working on imaging the OS. One thing I want to see if Fog project provides for us, automatically create a image. For most of the applications I work on, when there is a merge from a sub-branch into master branch in a git repo, it would trigger the CICD server to build the artifact and deploy that either to staging/production. Does Fog have this kind of functionality? Let’s say that when I merge my commit into master branch, it would trigger CICD server to build the image and somehow Fog project leverages that to create a deployable image. With that, every time I want to deploy/image a new computer, I would get the latest info from the git repo. Just a thought. Thanks

      posted in Feature Request
      Z
      zfeng
    • RE: Provision with Script

      @george1421 @Junkhacker @Tom-Elliott I see what it does now. I actually tried that out. Basically, it copied the script from fog server and placed that into the target computer. Once the target computer powers up, it will run the script automatically. That actually helps. Thanks for your guys effort. I will close this issue then.

      posted in Feature Request
      Z
      zfeng
    • RE: Provision with Script

      @Junkhacker thanks for that. I will try that out

      posted in Feature Request
      Z
      zfeng
    • RE: Provision with Script

      @george1421 Thanks for that. I will try that out

      posted in Feature Request
      Z
      zfeng
    • RE: Provision with Script

      @Junkhacker where should I specify wget -o /root/script.sh <address>/script.sh; echo “Computer=$hostname /root/script.sh” > <drive mount point>/etc/init.d/oneshot.sh command?

      posted in Feature Request
      Z
      zfeng
    • RE: Provision with Script

      @Tom-Elliott The best thing I can do now is to try out that, and see what comes. Let’s say I need provision a linux computer with script Computer=ComputerA ./start.sh on the home directory. Is there any instruction I can try that out?

      posted in Feature Request
      Z
      zfeng
    • RE: Provision with Script

      @Junkhacker but how can I pass the argument to that script?

      posted in Feature Request
      Z
      zfeng
    • RE: Provision with Script

      @Tom-Elliott Yes. You guys are very responsive. I appreciate that

      posted in Feature Request
      Z
      zfeng
    • RE: Provision with Script

      @Junkhacker I am sorry for not specific enough

      posted in Feature Request
      Z
      zfeng
    • RE: Provision with Script

      @Junkhacker the script will install different projects from git repository. everyone of the them needs to have an argument to install specific package on the computer.

      For now, after I complete the provision part, I basically power up the computer and run Computer=ComputerA ./start.sh on the home directory.

      posted in Feature Request
      Z
      zfeng
    • 1 / 1