Commit c74ca5b4 authored by AdamSimpson's avatar AdamSimpson
Browse files

it turns out at and cat are different commands in unix. Also disable buffering in the client

parent 3e01da45
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -83,8 +83,9 @@ int main(int argc, char *argv[]) {

                        std::cout << "Start reading builder output:" << std::endl;

                        // Hide the cursor so it doesn't jump all around the screen
                        // Hide the cursor and disable buffering for cleaner output
                        std::cout<<"\e[?25l"<<std::flush;
                        std::cout.setf(std::ios::unitbuf);

                        std::string line;
                        do {
+2 −1
Original line number Diff line number Diff line
@@ -71,10 +71,11 @@ EOF
systemctl enable ContainerBuilder

# Disable TCP time stamps - ORNL seems to be jacking them up and causing the connection to drop at the 5 minute mark
at << EOF > /etc/sysctl.d/51-net.conf
cat << EOF > /etc/sysctl.d/51-net.conf
net.ipv4.tcp_timestamps = 0
EOF


reboot

# To check that the Builder service is running